[LU-15025] PQ: stale edquot after clearing limits for a user in a pool Created: 21/Sep/21 Updated: 10/May/22 Resolved: 30/Nov/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Cheremencev | Assignee: | Sergey Cheremencev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
When hard and soft limit set to 0, lqe enforced flag is also set to false. As qmt_adjust_qunit does not handle not enforced lqes, edquot set to the pool continues to be true and a user gets -EDQUOT even if all pool limits are cleared. This was ok for global pool lqe as since it turned off, zero limits are sent to OSTs causing OSTs to release all granted space and avoid EDQUOT. Fix this for PQ - set edquot and qunit to zero, since appropriate lqe becomes "not enforced". |
| Comments |
| Comment by Gerrit Updater [ 21/Sep/21 ] |
|
"Sergey Cheremencev <sergey.cheremencev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45000 |
| Comment by Gerrit Updater [ 30/Nov/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45000/ |
| Comment by Peter Jones [ 30/Nov/21 ] |
|
Landed for 2.15 |