Skip to content

splice cleanups

Miklos Szeredi linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11pipe: add pipe_buf_get() helperfs/fuse/dev.c fs/splice.c include/linux/pipe_fs_i.h+14 -30 replies
2/11pipe: add pipe_buf_release() helperfs/fuse/dev.c fs/pipe.c fs/splice.c +1 more+23 -170 replies
3/11pipe: add pipe_buf_confirm() helperfs/fuse/dev.c fs/pipe.c fs/splice.c +1 more+18 -100 replies
4/11pipe: add pipe_buf_steal() helperdrivers/char/virtio_console.c fs/fuse/dev.c include/linux/pipe_fs_i.h+13 -20 replies
5/11pipe: fix comment in pipe_buf_operationsinclude/linux/pipe_fs_i.h+3 -80 replies
6/11pipe: no need to confirm page cache buffs/splice.c+1 -422 replies
7/11pipe: remove generic_pipe_buf_confirm()fs/pipe.c fs/splice.c include/linux/pipe_fs_i.h +2 more+1 -421 reply
8/11filemap: add get_page_for_read() helperinclude/linux/pagemap.h mm/filemap.c+177 -1651 reply
9/11splice: use get_page_for_read()fs/splice.c+12 -1571 reply
10/11splice: don't check i_size in generic_file_splice_read()fs/splice.c+0 -90 replies
11/11splice: fold __generic_file_splice_read() into callerfs/splice.c+29 -410 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph Hellwig
SeriesR-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] splice cleanups

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(-)
Signature · 1 line
2.5.5