Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 6 Sep 2002 15:28:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 6 Sep 2002 15:28:12 -0400 Received: from maroon.csi.cam.ac.uk ([131.111.8.2]:8426 "EHLO maroon.csi.cam.ac.uk") by vger.kernel.org with ESMTP id ; Fri, 6 Sep 2002 15:28:11 -0400 Message-Id: <5.1.0.14.2.20020906203045.03eb8980@pop.cus.cam.ac.uk> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 06 Sep 2002 20:32:50 +0100 To: Daniel Phillips From: Anton Altaparmakov Subject: Re: (fwd) Re: [RFC] mount flag "direct" Cc: "Peter T. Breuer" , Alexander Viro , Xavier Bestel , david.lang@digitalinsight.com, Linux Kernel Mailing List In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1645 Lines: 37 At 18:33 06/09/02, Daniel Phillips wrote: >On Friday 06 September 2002 19:20, Anton Altaparmakov wrote: > > As of very recently, Andrew Morton introduced an optimization to this with > > the get_blocks() interface in 2.5 kernels. Now the file system, when doing > > direct_IO at least, returns to the VFS the requested block position _and_ > > the size of the block. So the VFS now gains in power in that it only needs > > to ask for each block once as it is now aware of the size of the block. > > > > But still, even with this optimization, the VFS still asks the FS for each > > block, and then the FS has to lookup each block. > >Well, it takes no great imagination to see the progression: get_blocks >acts on extents instead of arrays of blocks. Expect to see that around >the 2.7 timeframe. Isn't that just a matter of terminology? Whether you are calling the things "variable sized blocks" or "extents" they are still the same thing, no? So I would say, get_blocks() acts on extents right now. (-: [I may be missing your point in which case a small explanation would be appreciated...] Cheers, Anton -- "I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov (replace at with @) Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/