[LU-15694] quota grace time reset to 0 after setting default limit Created: 25/Mar/22  Updated: 30/Nov/23  Resolved: 01/Sep/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

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

Issue Links:
Related
is related to LU-16038 sanity-quota test_8: <<failed with 1>> Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
# lfs quota -t -p /lustre
Block grace time: 1w; Inode grace time: 1w
#
# lfs quota -P /lustre
Disk default prj quota:
     Filesystem   bquota  blimit  bgrace   iquota  ilimit  igrace
        /lustre      0       0  604800      0       0  604800
# lfs setquota -t -p --block-grace 8w /lustre
# lfs quota -t -p /lustre
Block grace time: 8w; Inode grace time: 1w
#
# lfs setquota -P -b 1G -B 150G /lustre
# lfs quota -P /lustre
Disk default prj quota:
     Filesystem   bquota  blimit  bgrace   iquota  ilimit  igrace
        /lustre 1048576 157286400       0      0       0  604800
#
# lfs quota -t -p /lustre
Block grace time: 0s; Inode grace time: 1w


 Comments   
Comment by Gerrit Updater [ 25/Mar/22 ]

"Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46935
Subject: LU-15694 quota: keep grace time while setting default limits
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8c0fc5ccd1b9c5d981f76f34f72fb76b01f16b48

Comment by Gerrit Updater [ 01/Sep/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46935/
Subject: LU-15694 quota: keep grace time while setting default limits
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d4978678b49102226a79a6c8e5d10075d416977d

Comment by Peter Jones [ 01/Sep/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 30/Nov/23 ]

"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53289
Subject: LU-15694 quota: keep grace time while setting default limits
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: fd4d16ff0d8e5c4d187cde0c4038d1299eba5ff6

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