Project

General

Profile

Actions

Bug #39258

closed

add statx support to kcephfs

Added by Jeff Layton about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Jeff Layton over 4 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Jeff Layton over 4 years ago

Patches merged for v5.3.

Actions

Also available in: Atom PDF