lkml.org 
[lkml]   [2014]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [linux-next] splice call weird results
From
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


\
 
 \ /
  Last update: 2014-05-27 19:41    [W:0.055 / U:3.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site