From: Chris Mason <chris.mason@fusionio.com>
To: Miao Xie <miaox@cn.fujitsu.com>
Cc: Linux Btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: About Chunk Tree recover
Date: Tue, 29 Jan 2013 10:33:06 -0500 [thread overview]
Message-ID: <20130129153306.GE23893@shiny.globalsuite.net> (raw)
In-Reply-To: <5107AEEB.2030106@cn.fujitsu.com>
On Tue, Jan 29, 2013 at 04:13:47AM -0700, Miao Xie wrote:
> Hi, everyone.
>
> About 1 years ago, we implemented the chunk tree recover function,
> but it has not been applied till now because that implementation
> need change the disk format.
> (http://marc.info/?l=linux-btrfs&m=129914269932543&w=2
> http://marc.info/?l=linux-btrfs&m=130976668006281&w=2
> http://marc.info/?l=linux-btrfs&m=129914269932543&w=2)
>
> Recently, I reconsidered the implementation of this function, and
> found a new approach that needn't change the disk format. That is
> the external chunk tree backup, just like external journal device
> of ext4. The basic idea is:
I do like the idea of a dedicated chunk backup area, outside the
filesystem. But, I think we need to be able to fall back to the
scanning operation.
The chunk tree backup actually fits well into the log area I'm setting
up for raid5/6. The log area is really just a dedicated chunk where I'm
stuffing blocks to avoid read/modify/write and to make sub stripe writes
power cut safe.
-chris
prev parent reply other threads:[~2013-01-29 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 11:13 About Chunk Tree recover Miao Xie
2013-01-29 15:33 ` Chris Mason [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130129153306.GE23893@shiny.globalsuite.net \
--to=chris.mason@fusionio.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=miaox@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).