----- Original Message ----- > From: "Han Pingtian" <ha...@linux.vnet.ibm.com> > To: ltp-list@lists.sourceforge.net > Sent: Tuesday, 8 July, 2014 4:42:54 PM > Subject: Re: [LTP] [RFC PATCH] regression test for 64bit sendfile > capped at 2G > > On Tue, Jul 08, 2014 at 08:30:34AM -0400, Jan Stancek wrote: > > I think the problem addressed in commit 5d73320a96fcc was using sendfile on > > large files, > > and not making large (count > 2GB) sendfile() calls. > > > > Taking this into account, I can see the difference with/without commit > > 5d73320a96fcc. > > Second case here fails on unpatched kernel with: > > > > sendfile(3, 4, [3221225472], 1073741824) = -1 EOVERFLOW (Value too large > > for defined data type) > > > > > Great! I have combined these patches, please have a look. Many Thanks!
Pushed with small changes. Mostly comment updates to reflect that we are testing at 0 and 3GB offsets. Also, I changed test for required space to 5GB. Regards, Jan ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck® Code Sight™ - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list