Actions
Bug #55254
closedkclient: fix statx AT_STATX_DONT_SYNC vs AT_STATX_FORCE_SYNC check
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
kcephfs
Crash signature (v1):
Crash signature (v2):
Description
From the posix and the initial statx supporting commit comments,
the AT_STATX_DONT_SYNC is a lightweight stat flag 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.
More detail please see https://lore.kernel.org/all/147938970382.13574.11581172952175034619.stgit@warthog.procyon.org.uk/.
Updated by Xiubo Li about 2 years ago
The ceph patchwork link: https://patchwork.kernel.org/project/ceph-devel/list/?series=630867
Updated by Xiubo Li about 2 years ago
- Related to Bug #55253: client: switch to glibc's STATX macros added
Updated by Xiubo Li about 2 years ago
- Status changed from New to Fix Under Review
- Assignee set to Xiubo Li
Updated by Xiubo Li about 2 years ago
- Status changed from Fix Under Review to Resolved
Actions