Whamcloud - gitweb
LU-16736 quota: set revoke time to avoid endless wait
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 26 Jan 2024 10:57:34 +0000 (18:57 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 27 Apr 2024 22:32:47 +0000 (22:32 +0000)
commit3e31fd16d31d7dc13f7f72ba1b689ffda743ac1f
tree2fcf0cab1bed276a67c8bf9960177d7a0f0c0c90
parent3cfbd9515a8adb88a807045dfff7a4017f93e7f7
LU-16736 quota: set revoke time to avoid endless wait

The revoke time of the lquota entry should be set when its qunit
reaches least qunit, but it could not be set in some rare case,
which could be related to the broken quota LDLM lock, set it in
"qmt_acquire" to avoid endless wait in QSD.

Lustre-change: https://review.whamcloud.com/50626
Lustre-commit: 49730821c4e5116f188c931830ce23b2da2d8a41

Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: Ib68c5dc881346e0e619d43553ee490847ae5e225
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54907
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/quota/qmt_entry.c