Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483112

Re: [PATCH 00/11] splice cleanups

From Cedric Blancher <cedric.blancher@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 00/11] splice cleanups
Date 2016-09-14 11:00 +0200
Message-ID <shecW-76W-17@gated-at.bofh.it> (permalink)
References <shdTz-6Z2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/11] splice cleanups Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:40 +0200
  [PATCH 09/11] splice: use get_page_for_read() Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:40 +0200
  [PATCH 10/11] splice: don't check i_size in generic_file_splice_read() Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:40 +0200
  [PATCH 11/11] splice: fold __generic_file_splice_read() into caller Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:40 +0200
  [PATCH 07/11] pipe: remove generic_pipe_buf_confirm() Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:40 +0200
    Re: [PATCH 07/11] pipe: remove generic_pipe_buf_confirm() Christoph Hellwig <hch@infradead.org> - 2016-09-16 13:30 +0200
  [PATCH 01/11] pipe: add pipe_buf_get() helper Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:50 +0200
  [PATCH 02/11] pipe: add pipe_buf_release() helper Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:50 +0200
  [PATCH 04/11] pipe: add pipe_buf_steal() helper Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 10:50 +0200
  Re: [PATCH 00/11] splice cleanups Cedric Blancher <cedric.blancher@gmail.com> - 2016-09-14 11:00 +0200
    Re: [PATCH 00/11] splice cleanups Miklos Szeredi <mszeredi@redhat.com> - 2016-09-14 11:40 +0200
  Re: [PATCH 00/11] splice cleanups Christoph Hellwig <hch@infradead.org> - 2016-09-16 13:30 +0200

csiph-web