[LU-15969] new project VFS interface ->fileattr_get for PCC project quota Created: 24/Jun/22 Updated: 19/Jul/23 |
|
| Status: | Reopened |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Qian Yingjin | Assignee: | Qian Yingjin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
The new Ubuntu 2204 kernel introduces a new project set/get VFS interface ->fileattr_get() and ->fileattr_set().
old_fs = force_uaccess_begin();
rc = file->f_op->unlocked_ioctl(file, FS_IOC_FSSETXATTR,
(unsigned long)&fsx);
force_uaccess_end(old_fs);
However, the new kernel removes this project IOCTL, this result in the ioctl returns -ENOTTY. We need to add compatibility check for this new project VFS interface, and fix the setting for PCC project ID properly. |
| Comments |
| Comment by Gerrit Updater [ 17/Apr/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50649 |
| Comment by Gerrit Updater [ 19/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50649/ |
| Comment by Peter Jones [ 19/May/23 ] |
|
Landed for 2.16 |
| Comment by Jian Yu [ 23/May/23 ] |
This patch caused group lock regression failures on Ubuntu 22.04, SLES15 SP4, RHEL 9.1 and 9.2: |
| Comment by Gerrit Updater [ 23/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51093 |
| Comment by Gerrit Updater [ 23/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51093/ |
| Comment by Gerrit Updater [ 23/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51107 |
| Comment by Gerrit Updater [ 11/Jul/23 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51634 |
| Comment by Gerrit Updater [ 19/Jul/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51107/ |