[PATCH 00/11] splice cleanups

From: Miklos Szeredi
Date: Wed Sep 14 2016 - 04:37:28 EST


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