[GIT PULL] fuse update for 5.16

From: Miklos Szeredi
Date: Tue Nov 09 2021 - 04:03:16 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-5.16

- Fix a possible of deadlock in case inode writeback is in progress during
dentry reclaim.

- Fix a crash in case of page stealing.

- Selectively invalidate cached attributes, possibly improving performance.

- Allow filesystems to disable data flushing from ->flush().

- Misc fixes and cleanups.

Thanks,
Miklos

---
Amir Goldstein (1):
fuse: add FOPEN_NOFLUSH

Miklos Szeredi (20):
fuse: make sure reclaim doesn't write the inode
fuse: write inode in fuse_vma_close() instead of fuse_release()
fuse: annotate lock in fuse_reverse_inval_entry()
fuse: move fuse_invalidate_attr() into fuse_update_ctime()
fuse: simplify __fuse_write_file_get()
fuse: decrement nlink on overwriting rename
fuse: don't increment nlink in link()
fuse: selective attribute invalidation
fuse: don't bump attr_version in cached write
fuse: rename fuse_write_update_size()
fuse: always invalidate attributes after writes
fuse: fix attr version comparison in fuse_read_update_size()
fuse: cleanup code conditional on fc->writeback_cache
fuse: simplify local variables holding writeback cache state
fuse: move reverting attributes to fuse_change_attributes()
fuse: add cache_mask
fuse: take cache_mask into account in getattr
fuse: only update necessary attributes
virtiofs: use strscpy for copying the queue name
fuse: fix page stealing

Peng Hao (2):
fuse: use kmap_local_page()
fuse: delete redundant code

---
fs/fuse/dax.c | 5 +-
fs/fuse/dev.c | 24 ++++++---
fs/fuse/dir.c | 128 ++++++++++++++++++++++------------------------
fs/fuse/file.c | 106 ++++++++++++++++++++------------------
fs/fuse/fuse_i.h | 17 ++++--
fs/fuse/inode.c | 45 +++++++++++++---
fs/fuse/ioctl.c | 4 +-
fs/fuse/readdir.c | 6 +--
fs/fuse/virtio_fs.c | 2 +-
fs/fuse/xattr.c | 10 ++--
include/uapi/linux/fuse.h | 7 ++-
11 files changed, 203 insertions(+), 151 deletions(-)