vfs patches for 4.11
Hi Al,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git for-viro
This contains:
- preparation for using tmpfile for regular file copy-up on overlayfs
- freeze protection fixes
- preparation for intercepting certain ops for consistent handling of r/o opens on overlayfs
Thanks,
Miklos
---
Amir Goldstein (4):
vfs: create vfs helper vfs_tmpfile()
vfs: deny fallocate() on directory
vfs: deny copy_file_range() for non regular files
vfs: wrap write f_ops with file_{start,end}_write()
Miklos Szeredi (5):
vfs: extract common parts of {compat_,}do_readv_writev()
vfs: pass type instead of fn to do_{loop,iter}_readv_writev()
vfs: use helpers for calling f_op->{read,write}_iter()
mm: use helper for calling f_op->mmap()
vfs: use helper for calling f_op->fsync()--- drivers/block/loop.c | 4 +- drivers/gpu/drm/i915/i915_gem_dmabuf.c | 2 +- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- fs/aio.c | 4 +- fs/coda/file.c | 2 +- fs/namei.c | 68 ++++++++++------- fs/open.c | 14 ++-- fs/read_write.c | 130 ++++++++++++++------------------- fs/splice.c | 2 +- fs/sync.c | 2 +- include/linux/fs.h | 52 +++++++++---- ipc/shm.c | 4 +- mm/mmap.c | 2 +- mm/nommu.c | 4 +- 14 files changed, 158 insertions(+), 134 deletions(-)
Al Viro
maintainerQuoted 11 lines · Miklos Szeredi
Hi Al,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.gitfor-viroAmir Goldstein (4):
vfs: create vfs helpervfs_tmpfile()
vfs: denyfallocate()on directory
vfs: denycopy_file_range()for non regular files
vfs: wrap writef_opswith file_{start,end}_write()
The last one could have a better summary, but anyway - pulled.
Quoted 7 lines · Al Viro
Quoted 6 lines · Miklos Szeredi
Hi Al,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.gitfor-viro
Quoted 7 lines
Quoted 5 lines
Amir Goldstein (4):
vfs: create vfs helpervfs_tmpfile()
vfs: denyfallocate()on directory
vfs: denycopy_file_range()for non regular files
vfs: wrap writef_opswith file_{start,end}_write()The last one could have a better summary, but anyway - pulled.
Al,
Please excuse my impatience, but do you plan to send these out to Linus for 4.11?
If not, Miklos, could possibly ask Linus to pull overlayfs-next, which have been soaking in linux-next for a while now.
overlayfs-next contains only my 4 VFS patches above, which are not that controversial IMO.
It'd be nice to get rid of the "big copy up lock" for 4.11.
Thanks,
Amir.
Al Viro
maintainerQuoted 14 lines · Amir Goldstein
Quoted 13 lines · Al Viro
Quoted 11 lines · Miklos Szeredi
Hi Al,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.gitfor-viroAmir Goldstein (4):
vfs: create vfs helpervfs_tmpfile()
vfs: denyfallocate()on directory
vfs: denycopy_file_range()for non regular files
vfs: wrap writef_opswith file_{start,end}_write()
Quoted 6 lines
Quoted 1 line
The last one could have a better summary, but anyway - pulled.
Al,
Please excuse my impatience, but do you plan to send these out to Linus for 4.11?
Yes. As the matter of fact, it will be one of the pull requests in today's pile.
Quoted 17 lines · Al Viro
Quoted 16 lines · Amir Goldstein
Quoted 14 lines · Al Viro
Quoted 11 lines · Miklos Szeredi
Hi Al,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.gitfor-viroAmir Goldstein (4):
vfs: create vfs helpervfs_tmpfile()
vfs: denyfallocate()on directory
vfs: denycopy_file_range()for non regular files
vfs: wrap writef_opswith file_{start,end}_write()The last one could have a better summary, but anyway - pulled.
Quoted 7 lines
Quoted 4 lines
Al,
Please excuse my impatience, but do you plan to send these out to Linus for 4.11?
Yes. As the matter of fact, it will be one of the pull requests in today's pile.
Cool.
Miklos,
This vfs pile was already pulled.
Could you please follow up with overlayfs 4.11 pull request.
I also verified that overlayfs-next and rebased-statx have no conflicts (copy_up.c is correctly auto-merged)
and re-tested concurrent copy up and -g overlay/quick with the test merge.
Thanks,
Amir.