From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH] Btrfs: initial online fsck support Date: Fri, 01 Jul 2011 10:48:36 -0700 Message-ID: References: <4E0C4303.1080406@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "linux-btrfs\@vger.kernel.org" To: Li Zefan Return-path: In-Reply-To: <4E0C4303.1080406@cn.fujitsu.com> (Li Zefan's message of "Thu, 30 Jun 2011 17:33:55 +0800") List-ID: Li Zefan 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. > - verify the extent allocation tree on the fly. It's scary to have a fsck in kernel space. Is there no way to do this from user space? -Andi -- ak@linux.intel.com -- Speaking for myself only