From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n4AHbZgS193940 for ; Sun, 10 May 2009 12:37:36 -0500 Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2BA3F1D219DE for ; Sun, 10 May 2009 10:37:40 -0700 (PDT) Received: from mail.sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id 3nXITQaGZxhBD2Sr for ; Sun, 10 May 2009 10:37:40 -0700 (PDT) Message-ID: <4A0710E3.3050102@sandeen.net> Date: Sun, 10 May 2009 12:37:39 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH 1/5] xfs: remove ->write_super and stop maintaining ->s_dirt References: <20090426140305.113371000@bombadil.infradead.org> <20090426140707.533370000@bombadil.infradead.org> In-Reply-To: <20090426140707.533370000@bombadil.infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: xfs@oss.sgi.com Christoph Hellwig wrote: > the write_super method is used for > > (1) writing back the superblock periodically from pdflush > (2) called just before ->sync_fs for data integerity syncs > (3) just before ->put_super > > We don't need (1) because we have our own peridoc writeout through xfssyncd, > we don't need (2) because xfs_fs_sync_fs performs a proper synchronous > superblock writeout after all other data and metadata has been written out, > and we don't need (3) because we synchronously write the superblock in > ->put_super once the filesystem is fully shut down. > > Also remove ->s_dirt tracking as it's only used to decide when too call > ->write_super. > > > Signed-off-by: Christoph Hellwig Reviewed-by: Eric Sandeen _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs