From: Al Viro Subject: Re: [PATCH 1/1] VFS: introduce s_dirty accessors Date: Fri, 11 Jun 2010 02:42:53 +0100 Message-ID: <20100611014253.GE31073@ZenIV.linux.org.uk> References: <1276167393-31492-1-git-send-email-dedekind1@gmail.com> <1276167393-31492-2-git-send-email-dedekind1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , LKML , Andrew Morton , tytso@mit.edu, linux-fsdevel@vger.kernel.org To: Artem Bityutskiy Return-path: Content-Disposition: inline In-Reply-To: <1276167393-31492-2-git-send-email-dedekind1@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jun 10, 2010 at 01:56:33PM +0300, Artem Bityutskiy wrote: > From: Artem Bityutskiy > > This patch introduces 3 VFS accessors: 'sb_mark_dirty()', > 'sb_mark_clean()', and 'sb_is_dirty()'. They simply > set 'sb->s_dirt' or test 'sb->s_dirt'. The plan is to make > every FS use these accessors later instead of manipulating > the 'sb->s_dirt' flag directly. > > Ultimately, this change is a preparation for the periodic > superblock synchronization optimization which is about > preventing the "sync_supers" kernel thread from waking up > even if there is nothing to synchronize. > > This patch does not do any functional change, just adds > accessor functions. Applied and pushed. It's in for-next, which should do until Linus comes back and picks it...