Messages in this thread | | | Date | Tue, 27 May 2014 10:20:46 -0700 | Subject | Re: [linux-next] splice call weird results | From | Cong Wang <> |
| |
On Tue, May 27, 2014 at 3:27 AM, Cyrill Gorcunov <gorcunov@gmail.com> wrote: > On Tue, May 27, 2014 at 01:20:13PM +0300, Kirill A. Shutemov wrote: >> Cyrill Gorcunov wrote: >> > Hi! While been trying to run criu on linux-next (due to recent Kirill's patch related >> > to /proc/pid/clear_refs with THP enabled) I noticed that it fails dumping programs when >> > moves data from memory pages into an image file. So I wrote pretty idiotic test and >> > run it on current fedora 20 kernel and then on linux-next. >> > >> >> +Al. He reworked splice code in linux-next. > > Thanks Kirill. Al, it looks like iter_file_splice_write no longer honor @len while > building kiocb vector but pushes as much as it can.
I guess this should fix your problem: https://lkml.org/lkml/2014/5/27/353
| |