Bug #39258
closedadd statx support to kcephfs
0%
Description
Now that statx is an official syscall, we should fix kcephfs to take advantage of it. We can avoid requesting conflicting access for attributes that we're not interested in, and accept hints like AT_STATX_DONT_SYNC and AT_STATX_FORCE_SYNC.
Also, add some QA tests, and possibly wire up btime support for ceph too.
Updated by Jeff Layton almost 5 years ago
The patches are merged in the upstream kernel, but I still don't have any tests yet. We do have some testcases for libcephfs that could potentially be adapted, though we may need to use a separate client (cephfs-shell?) to help drive conflicting activity.
What may be best in the long run is adding generic statx() tests to xfstests so that we get testing across a wide range of filesystems.
Updated by Jeff Layton almost 5 years ago
Patches are in for this, and there are some basic statx tests in xfstests. For now, we may have to settle for that as I'm not sure how best to do multiclient kclient testing.