lkml.org 
[lkml]   [2016]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 00/11] splice cleanups
Is there any shell which uses pipe splicing?

Ced

On 14 September 2016 at 10:37, Miklos Szeredi <mszeredi@redhat.com> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html



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

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.193 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site