[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160927034515.GI19539@ZenIV.linux.org.uk>
Date: Tue, 27 Sep 2016 04:45:15 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Miklos Szeredi <mszeredi@...hat.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 09/11] splice: use get_page_for_read()
On Wed, Sep 14, 2016 at 10:37:14AM +0200, Miklos Szeredi wrote:
> What __generic_file_splice_read() does is get a series of uptodate pages
> and put them into the pipe buffer.
>
> The get_page_for_read() helper can now be used to get the pages,
> simplifying the code and making sure the splice(2) stays in sync with
> read(2).
>
> For example get_page_for_read() can handle partially uptodate pages and now
> splice can take advantage of these as well.
... or, better yet, kill __generic_file_splice_read() off.
Powered by blists - more mailing lists