Re: [PATCH 00/11] splice cleanups

From: Cedric Blancher
Date: Wed Sep 14 2016 - 04:55:50 EST


Is there any shell which uses pipe splicing?

Ced

On 14 September 2016 at 10:37, Miklos Szeredi <mszeredi@xxxxxxxxxx> wrote:
> This contains assorted cleanups in the splice area:
>
> - add helpers for pipe buf ops instead of directly calling them
>
> - page cache buf doesn't seem to need confirming (since ages)
>
> - generic_file_splice_read() and generic_file_read() have lots of
> duplication
>
> Git tree is here:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git#splice
>
> Thanks,
> Miklos
>
> ---
> Miklos Szeredi (11):
> pipe: add pipe_buf_get() helper
> pipe: add pipe_buf_release() helper
> pipe: add pipe_buf_confirm() helper
> pipe: add pipe_buf_steal() helper
> pipe: fix comment in pipe_buf_operations
> pipe: no need to confirm page cache buf
> pipe: remove generic_pipe_buf_confirm()
> filemap: add get_page_for_read() helper
> splice: use get_page_for_read()
> splice: don't check i_size in generic_file_splice_read()
> splice: fold __generic_file_splice_read() into caller
>
> drivers/char/virtio_console.c | 2 +-
> fs/fuse/dev.c | 15 +-
> fs/pipe.c | 31 +---
> fs/splice.c | 301 ++++++-------------------------------
> include/linux/pagemap.h | 3 +
> include/linux/pipe_fs_i.h | 73 ++++++---
> kernel/relay.c | 1 -
> kernel/trace/trace.c | 2 -
> mm/filemap.c | 339 ++++++++++++++++++++++--------------------
> 9 files changed, 281 insertions(+), 486 deletions(-)
>
> --
> 2.5.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
Cedric Blancher <cedric.blancher@xxxxxxxxx>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur