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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html