Re: [PATCH] Btrfs: initial online fsck support

2011-07-20 Thread Chris Mason
Excerpts from Andi Kleen's message of 2011-07-02 13:04:43 -0400: The two big features of btrfs are self-healing and online fsck, those have to Are they? be implemented in kernel space. Why? There have been online fscks in user space in the past, e.g. the various schemes using LVM

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
On Friday 01 of July 2011 19:48:36 Andi Kleen wrote: Li Zefan l...@cn.fujitsu.com writes: This is an initial version of online fsck. What it does is: - check the dir item and dir index pointing to a file. - check the structure of extents of a file. As furthur work, we should

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Andi Kleen
The two big features of btrfs are self-healing and online fsck, those have to Are they? be implemented in kernel space. Why? There have been online fscks in user space in the past, e.g. the various schemes using LVM snapshots for ext* and other related work on the BSD FFS. I don't see any

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
On Saturday 02 of July 2011 19:04:43 Andi Kleen wrote: The two big features of btrfs are self-healing and online fsck, those have to Are they? they are scheduled to be, just like RAID5/6, mixed RAID in single FS... be implemented in kernel space. Why? There have been online fscks in

Re: [PATCH] Btrfs: initial online fsck support

2011-07-01 Thread Andi Kleen
Li Zefan l...@cn.fujitsu.com writes: This is an initial version of online fsck. What it does is: - check the dir item and dir index pointing to a file. - check the structure of extents of a file. As furthur work, we should consider: - fix but not only check the structure of a file. -