|
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.
|