Re: [RFC PATCH] fs: Make splice() and tee() take into account O_NONBLOCK flag on pipes
From: Linus Torvalds
Date: Mon Mar 04 2019 - 19:04:34 EST
On Mon, Mar 4, 2019 at 7:58 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> I'm still just hearing crickets about this? Should I just send this
> directly to Linus or Andrew?
I'll take it. It looks sane.
Of course, if it turns out that this breaks something that assumes
that splice blocks purely based on the SPLICE_F_NONBLOCK flag, we'll
have to revert it. Looking at the history of splice, it does look like
it has always ignored O_NONBLOCK.
Linus