diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-04-11 03:59:09 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-05-25 20:45:13 +0200 |
commit | 261998c30004f0e6eeddd24b1eb5e504cfacee18 (patch) | |
tree | 99d07bc543c264a75f879ce7152db19ab1d59b66 /net/dsa | |
parent | ceph: no need to invalidate the fscache twice (diff) | |
download | linux-261998c30004f0e6eeddd24b1eb5e504cfacee18.tar.xz linux-261998c30004f0e6eeddd24b1eb5e504cfacee18.zip |
ceph: fix statx AT_STATX_DONT_SYNC vs AT_STATX_FORCE_SYNC check
From the posix and the initial statx supporting commit comments,
the AT_STATX_DONT_SYNC is a lightweight stat and the
AT_STATX_FORCE_SYNC is a heaverweight one. And also checked all
the other current usage about these two flags they are all doing
the same, that is only when the AT_STATX_FORCE_SYNC is not set
and the AT_STATX_DONT_SYNC is set will they skip sync retriving
the attributes from storage.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions