Re: [linux-next] splice call weird results

From: Cyrill Gorcunov
Date: Tue May 27 2014 - 06:27:38 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/