From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:56635 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbcAVJgQ (ORCPT ); Fri, 22 Jan 2016 04:36:16 -0500 Date: Fri, 22 Jan 2016 10:36:26 +0100 From: Jan Kara To: Goldwyn Rodrigues Cc: lsf-pc@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org Subject: Re: [Lsf-pc] [LSF/MM TOPIC] Online filesystem check framework Message-ID: <20160122093626.GD16898@quack.suse.cz> References: <56A11231.8040801@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56A11231.8040801@suse.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, On Thu 21-01-16 22:45:29, Goldwyn Rodrigues wrote: > Topic: Generic Online filesystem Check framework > > Motivation: > + Better uptime - Filesystems turn read-only at the first error encountered > and it may block critical applications which have not encountered the error. > + Unmountable Filesystems - Some filesystems such as clustered filesystem > may not be unmountable because they are used by too many computers to be > taken offline. > + Autofix - may sound dangerous as fixing is without user intervention, but > an option may help admins which are looking for a good uptime. > + Logic inbuilt - most logic of access to filesystem is already in the > filesystem driver. The fix/check would make use of existing functionality. > > Framework would be around providing a generic interface framework which > would use inode numbers as the basic unit to check or fix. Other metadata > may need special parameters. Userspace scripts will issue check/fixes to the > system, which may/may not be driven by Well, this is a very difficult topic so I think we need some concrete proposal and ideally some RFC code about what you think needs to be done to make online fsck possible. Without that it will be just a useless handwaving since I don't think anybody is able to come up with a decent proposal during that half an hour session... Honza -- Jan Kara SUSE Labs, CR