[GIT PULL] overlayfs update for 5.6
From: Miklos Szeredi
Date: Tue Feb 04 2020 - 04:38:09 EST
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-update-5.6
- Try and preserve holes in sparse files when copying up, thus saving disk
space and improving performance.
- Fix a performance regression introduced in v4.19 by preserving
asynchronicity of IO when fowarding to underlying layers. Add VFS
helpers to submit async iocbs.
- Fix a regression in lseek(2) introduced in v4.19 that breaks >2G seeks on
32bit kernels.
- Fix a corner case where st_ino/st_dev was not preserved across copy up.
- Miscellaneous fixes and cleanups.
Thanks,
Miklos
---
Amir Goldstein (7):
ovl: fix wrong WARN_ON() in ovl_cache_update_ino()
ovl: use ovl_inode_lock in ovl_llseek()
ovl: generalize the lower_layers[] array
ovl: simplify ovl_same_sb() helper
ovl: generalize the lower_fs[] array
ovl: fix corner case of conflicting lower layer uuid
ovl: fix corner case of non-constant st_dev;st_ino
Chengguang Xu (1):
ovl: improving copy-up efficiency for big sparse file
Jiufei Xue (2):
vfs: add vfs_iocb_iter_[read|write] helper functions
ovl: implement async IO routines
Miklos Szeredi (2):
ovl: layer is const
ovl: fix lseek overflow on 32bit
Murphy Zhou (1):
ovl: add splice file read write helper
lijiazi (1):
ovl: use pr_fmt auto generate prefix
---
fs/overlayfs/copy_up.c | 43 ++++++++-
fs/overlayfs/dir.c | 10 +-
fs/overlayfs/export.c | 28 +++---
fs/overlayfs/file.c | 162 +++++++++++++++++++++++++++++---
fs/overlayfs/inode.c | 66 ++++++++------
fs/overlayfs/namei.c | 38 ++++----
fs/overlayfs/overlayfs.h | 24 ++++-
fs/overlayfs/ovl_entry.h | 23 +++--
fs/overlayfs/readdir.c | 22 +++--
fs/overlayfs/super.c | 233 ++++++++++++++++++++++++++---------------------
fs/overlayfs/util.c | 28 ++----
fs/read_write.c | 56 ++++++++++++
include/linux/fs.h | 16 ++++
13 files changed, 521 insertions(+), 228 deletions(-)