From: Hirokazu Takahashi Subject: Re: Re: [PATCH] zerocopy NFS for 2.5.43 Date: Fri, 01 Nov 2002 12:41:07 +0900 (JST) Sender: nfs-admin@lists.sourceforge.net Message-ID: <20021101.124107.21933560.taka@valinux.co.jp> References: <20021031.110659.42769812.taka@valinux.co.jp> <20021101.004052.85418463.taka@valinux.co.jp> <15809.53455.211796.730215@notabene.cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Nov__1_12:41:07_2002_372)--" Cc: nfs@lists.sourceforge.net Return-path: Received: from sv1.valinux.co.jp ([202.221.173.100]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 187Snf-0004wu-00 for ; Thu, 31 Oct 2002 19:48:47 -0800 To: neilb@cse.unsw.edu.au In-Reply-To: <15809.53455.211796.730215@notabene.cse.unsw.edu.au> Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: ----Next_Part(Fri_Nov__1_12:41:07_2002_372)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I updated the patches. I'll send you 2 patches va-nfsd-sendpage.patch va-nfsd-vfsread.patch > I would like to leave the tail pointing into the end of the first page > (just after the head) rather than using the sunrpc_zero_page thing as > the later doesn't seem necessary. > Also, I would like to send the head and tail with sendpage rather > than using sock_sendmsg. > To give the destination address, you can call sock_sendmsg with > a length of 0, and then call ->sendpage for each page or page > fragment. > > > You should be able to remove the calls to svcbuf_reserve in > nfsd_proc_readdir and nfsd3_proc_readdir, and then discard the > 'buffer' variable as well. > > > If you could make those changes (or convince me otherwise), I will > forward the patches to Linus, > Thanks. Thank you, Hirokazu Takahashi. ----Next_Part(Fri_Nov__1_12:41:07_2002_372)-- Content-Type: Application/Octet-Stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="zerocopy-2.5.45-new.taz" H4sI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RYYSCIihIs3um2DDrpIXYnHB32vggYks8/cDhTieyPKW1McY UlV2VD8dC9w/IMTZL8mUpq3Z1IhaZkNVmOWbW1Ax/KTwh1aD8ZMhAmg/HTRfYw04x1JDStN2WM6Q +igT6qMsJcollGbQjQIsAoJqvFJuchFyMgiVr90ArTYFXIFYCYwq6RBP6IYpSyZmKB/kE5goG4Gh 0E77JB7DTqKQ12Sn5QinGGxdhCszeP5I4Grk6ErORCJ8f3bC4bZsy7Zsy7Zsy7Zsy7Zsy7Zsy7Zs y7Zsy7Zsy7Zsy7Zsy7Zsy7Zsy7Zsy7Zsy7Zsy7b8ruV/YI+dQwB4AAA= ----Next_Part(Fri_Nov__1_12:41:07_2002_372)---- ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs