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

From: Christian Brauner
Date: Mon Sep 25 2023 - 09:10:35 EST


On Wed, Sep 20, 2023 at 08:16:04PM +0200, Max Kellermann wrote:
> On Wed, Sep 20, 2023 at 7:28 PM Jens Axboe <axboe@xxxxxxxxx> wrote:
> > I think adding the flag for this case makes sense, and also exposing it
> > on the UAPI side.
>
> 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.