Re: [PATCH] fs/splice: don't block splice_direct_to_actor() after data was read

From: Max Kellermann
Date: Tue Sep 26 2023 - 02:39:27 EST


On Mon, Sep 25, 2023 at 3:10 PM Christian Brauner <brauner@xxxxxxxxxx> wrote:
> > OK. I suggest we get this patch merged first, and then I prepare a
> > patch for wiring this into uapi, changing SPLICE_F_NOWAIT to 0x10 (the
> > lowest free bit), add it to SPLICE_F_ALL and document it.
> >
> > (If you prefer to have it all in this initial patch, I can amend and
> > resubmit it with the uapi feature.)
>
> Please resend it all in one patch. That's easier for all to review.

Done. Though I was surprised there's no "uapi" header for splice, so I
only changed the value to 0x10 and added it to SPLICE_F_ALL.

Since the splice manpage is in a different repository, I'll submit a
separate patch for that; can't be one patch.

Max