[LU-13359] change lfs quota --pool to print used based only on OSTs from the pool Created: 13/Mar/20 Updated: 12/Sep/20 Resolved: 13/Aug/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Task | Priority: | Critical |
| Reporter: | Sergey Cheremencev | Assignee: | Sergey Cheremencev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Epic/Theme: | quota | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
With https://review.whamcloud.com/35615 "lfs quota --pool" shows correct soft/hard limit and grace time. However used is still the same with used without --pool option, i.e. it prints used for all OSTs in a system. print_obd_quota should be changed to take into account only OSTs from appropriate quota pool. I would like to do this in a separate ticket to make 35615 as small as possible. |
| Comments |
| Comment by Patrick Farrell [ 13/Mar/20 ] |
|
Sergey, A thought: I would do this as a patch on top of 35615, and I think it could use the same LU. I did this sort of approach for SEL - Generated a patch series, all associated with one ticket. This is a fix that is not relevant except with 35615, right? If so, I think it's clearer to just put another patch associated with the original LU. If I've misunderstood and this fix makes sense without 35615, then never mind. |
| Comment by Sergey Cheremencev [ 16/Mar/20 ] |
|
Hi Patrick! Glad to see you hear
That would be nice and yes a patch on top of 35615 is a correct place as there is already an option to show/set quota for the pol. |
| Comment by Gerrit Updater [ 07/Jul/20 ] |
|
Sergey Cheremencev (sergey.cheremencev@hpe.com) uploaded a new patch: https://review.whamcloud.com/39298 |
| Comment by Andreas Dilger [ 07/Jul/20 ] |
|
While Patrick's comments were OK before the |
| Comment by Gerrit Updater [ 13/Aug/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39298/ |
| Comment by Peter Jones [ 13/Aug/20 ] |
|
Landed for 2.14 |
| Comment by Gerrit Updater [ 14/Aug/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39676 |
| Comment by Gerrit Updater [ 12/Sep/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39676/ |