Messages in this thread | | | From | Miklos Szeredi <> | Subject | [PATCH 00/10] honor AT_STATX_DONT_SYNC in netfs | Date | Wed, 20 Sep 2017 10:39:55 +0200 |
| |
This is pretty simple to do: all netfs getattr implementations consist of two phases:
1) refresh attributes 2) fill in kstat
We just need to omit the first phase if this flag is given. --- Miklos Szeredi (10): ceph: honor AT_STATX_DONT_SYNC cifs: honor AT_STATX_DONT_SYNC coda: honor AT_STATX_DONT_SYNC fuse: honor AT_STATX_DONT_SYNC gfs2: honor AT_STATX_DONT_SYNC lustre: honor AT_STATX_DONT_SYNC nfs: honor AT_STATX_DONT_SYNC ocfs2: honor AT_STATX_DONT_SYNC orangefs: honor AT_STATX_DONT_SYNC 9p: honor AT_STATX_DONT_SYNC
drivers/staging/lustre/lustre/llite/file.c | 12 +++++++----- fs/9p/vfs_inode.c | 4 +++- fs/9p/vfs_inode_dotl.c | 3 ++- fs/ceph/inode.c | 6 ++++-- fs/cifs/inode.c | 30 ++++++++++++++++-------------- fs/coda/inode.c | 5 ++++- fs/fuse/dir.c | 9 +++++---- fs/gfs2/inode.c | 3 ++- fs/nfs/inode.c | 6 +++++- fs/ocfs2/file.c | 12 +++++++----- fs/orangefs/inode.c | 6 ++++-- 11 files changed, 59 insertions(+), 37 deletions(-)
-- 2.5.5
| |