From: Chuck Lever Subject: Re: NFS directio Date: Mon, 10 Apr 2006 13:36:10 -0400 Message-ID: <443A978A.1010101@citi.umich.edu> References: <20060330151544.GA11915@suse.de> <1143734612.8093.8.camel@lade.trondhjem.org> <20060331074900.GC32461@suse.de> <12E368A4-2262-4EBF-8769-581DB3500A36@citi.umich.edu> <20060331145849.GF18629@suse.de> <442D4FC2.7060109@citi.umich.edu> <17465.67.550070.247218@cse.unsw.edu.au> <44398617.2000208@citi.umich.edu> <17465.56586.668816.438021@cse.unsw.edu.au> Reply-To: cel@citi.umich.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Olaf Kirch , Trond Myklebust , nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1FT0J9-0001pi-IA for nfs@lists.sourceforge.net; Mon, 10 Apr 2006 10:36:11 -0700 Received: from citi.umich.edu ([141.211.133.111]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FT0J8-0008OB-6O for nfs@lists.sourceforge.net; Mon, 10 Apr 2006 10:36:11 -0700 To: Neil Brown In-Reply-To: <17465.56586.668816.438021@cse.unsw.edu.au> Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: Neil Brown wrote: > I think the case in point was a DVD burner trying to burn an image > that lived on a NFS filesystem. It tried to direct-read a reasonable > fraction of the whole dvd (100Meg?) and had problems. wow. first i've heard of this. was it ever reported to nfs@sf.net? if you are sure that the problems were directly related to the pagevec size logic, then i will get this fixed asap in mainline. >> the structure of this code was adapted (ie stolen) from other parts of >> the kernel that also employ get_user_pages. you can probably take a >> look at other places that employ get_user_pages(), and see how they've >> since tackled the issue. > > Looking at fs/direct-io.c, it called get_user_pages is blocks of > at-most 64 pages. I suspect a similar thing would be possible for > nfs. yep. we get only a single iocb from the caller. that may complicate things a little, especially in the aio case. -- corporate: personal: ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs