]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: selective attribute invalidation
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 22 Oct 2021 15:03:02 +0000 (17:03 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 28 Oct 2021 07:45:32 +0000 (09:45 +0200)
commitfa5eee57e33e79b71b40e6950c29cc46f5cc5cb7
tree92ed8a392c657de447ef8eb8c3a5f7fc72140542
parent97f044f690bac2b094bfb7fb2d177ef946c85880
fuse: selective attribute invalidation

Only invalidate attributes that the operation might have changed.

Introduce two constants for common combinations of changed attributes:

  FUSE_STATX_MODIFY: file contents are modified but not size

  FUSE_STATX_MODSIZE: size and/or file contents modified

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dax.c
fs/fuse/dir.c
fs/fuse/file.c
fs/fuse/fuse_i.h