From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [Ext2-devel] [RFC 0/13] extents and 48bit ext3 Date: Fri, 9 Jun 2006 11:02:36 -0700 Message-ID: <20060609110236.c342e28c.akpm@osdl.org> References: <1149816055.4066.60.camel@dyn9047017069.beaverton.ibm.com> <4488E1A4.20305@garzik.org> <20060609083523.GQ5964@schatzie.adilger.int> <44898EE3.6080903@garzik.org> <448992EB.5070405@garzik.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: alex@clusterfs.com, jeff@garzik.org, ext2-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, cmm@us.ibm.com, linux-fsdevel@vger.kernel.org, adilger@clusterfs.com Return-path: Received: from smtp.osdl.org ([65.172.181.4]:39815 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1030338AbWFISCu (ORCPT ); Fri, 9 Jun 2006 14:02:50 -0400 To: Linus Torvalds In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, 9 Jun 2006 09:25:57 -0700 (PDT) Linus Torvalds wrote: > (buffer heads! In 2006!) We should be able to make the vast majority of those go away, btw. We already have `-o data=writeback,nobh'. That gives us writeback-mode with no buffer_heads on the pagecache. On top of that we can implement nobh ordered-mode by adding an inode walk which calls do_sync_file_range() into the appropriate place in commit. The tricky part is the inode walk - at present super_block.s_list is a list_head and it's not trivial to walk that without missing some inodes. Probably it could be done via a new fs-private dirty-inode list which we hande carefully, or via a walk of an i_ino-ordered radix-tree, which doesn't miss things. I floated this a year or so ago, but no little fishies bit.