Re: [PATCH 3/3] teach sendfile(2) to handle send-to-pipe directly

2021-01-26 Thread Al Viro
On Tue, Jan 26, 2021 at 10:57:38AM -0800, Linus Torvalds wrote: > On Mon, Jan 25, 2021 at 10:09 PM Al Viro wrote: > > > > no point going through the intermediate pipe > > Ok, this series looks fine to me. > > Al - do you want me to apply this as patches for 5.11 (and I'll revert > the then unnec

Re: [PATCH 3/3] teach sendfile(2) to handle send-to-pipe directly

2021-01-26 Thread Linus Torvalds
On Mon, Jan 25, 2021 at 10:09 PM Al Viro wrote: > > no point going through the intermediate pipe Ok, this series looks fine to me. Al - do you want me to apply this as patches for 5.11 (and I'll revert the then unnecessary one-liner), or should I expect a pull request or what? Lin

[PATCH 3/3] teach sendfile(2) to handle send-to-pipe directly

2021-01-26 Thread Al Viro
no point going through the intermediate pipe Signed-off-by: Al Viro --- fs/internal.h | 9 + fs/read_write.c | 19 +-- fs/splice.c | 2 +- 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/fs/internal.h b/fs/internal.h index 77c50befbfbe..cff1f30cfef