Details
Description
Support for statx() was landed to Lustre 2.14 in LU-10934, and I realize that the upstream kernel does not support requesting the project ID as part of that interface.
It would be very useful to add a new STATX_PROJID = 0x2000 flag to the upstream kernel, and integrate this into the statx() handling for ext4, xfs, and f2fs if that is easy. It seems possible to use the sb->dq_op->get_projid() interface to fetch this at the VFS level, if available. The STATX_ATTR_PROJINHERIT = 0x20000000 flag should be added to stx_attributes_mask.
While it may take some time to get this into a kernel that we are using, better to start it now, and once it is landed upstream we can at least request to get it added to RHEL8 or similar.
You should add David Howells <dhowells@redhat.com> to the CC list for the patch review.
Attachments
Issue Links
- is related to
-
LU-12056 tar doesn't support project id
- Resolved
-
LU-15519 fallocate does not increase projid quota usage
- Resolved
-
LU-16085 Ubuntu 22.04 sanityn test_106c: supported stx_attributes: got '2030', expected '30'
- Resolved
-
LU-11872 Request for option not to follow symlink when setting project ID
- Resolved
-
LU-15372 add projid to changelog
- Open
-
LU-15723 Add fget_projid() to llapi
- Open
-
LU-15837 "lfs find -printf" improvements
- Resolved
-
LU-9555 "df /path/to/project" should return projid-specific values
- Resolved
- is related to
-
LU-12511 Prepare lustre for adoption into the linux kernel
- Open
-
LU-10934 integrate statx() API with Lustre
- Resolved