[LU-15277] lfs_quota shouldn't print default quota info unless the default quota is enabled Created: 25/Nov/21  Updated: 25/Feb/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

"lfs quota" shouldn't print default quota info about the specified quota ID unless
the default quota has been defined by the admin.

... is using default [block|inode] quota setting ...


 Comments   
Comment by Andreas Dilger [ 25/Nov/21 ]

Does it ever make sense to print the "using default" message? Would it make more sense to just fill in the fields from the default when displaying the quota?

Comment by Andreas Dilger [ 25/Nov/21 ]

Does it ever make sense to print the "using default" message? Would it make more sense to just fill in the fields from the default when displaying the quota?

Brett, any opinion here?

Comment by Brett Lee (Inactive) [ 28/Nov/21 ]

Hi Andreas,

Regarding the proposed change, yes!  It  appears to simplify the output, with clarity.  "Here's your usage, and here's your limit."

Comment by Gerrit Updater [ 03/Dec/21 ]

"Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45725
Subject: LU-15277 quota: don't print extra default quota info
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1f477e1ca9175a98c9d9e75557f1dc2a2172ff0c

Comment by Gerrit Updater [ 25/Feb/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46615
Subject: LU-15277 utils: lfs quota/setquota improvements
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 32d86e86fe4701befa4d3b1ce742badfb93d9309

Generated at Sat Feb 10 03:16:56 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.