OST object projid and quota reset
(LU-15520)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Technical task | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Hongchao Zhang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
If "lfs mirror extend" is run on a file using its FID, it will create a volatile file without an assigned projid on the OST objects, which will result in project quota leakage. When it is run by path and the volatile file is created in the parent directory, then the projid is inherited from the parent. The layout merge used to join the volatile file layout to the original file (or layout swap in case of migrate by FID) should set the projid on the volatile file before it is merged, so that its project quota is accounted properly. |
| Comments |
| Comment by Gerrit Updater [ 03/Aug/23 ] |
|
"Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51859 |
| Comment by Gerrit Updater [ 06/Sep/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51859/ |
| Comment by Peter Jones [ 06/Sep/23 ] |
|
Landed for 2.16 |