Whamcloud - gitweb
LU-16736 quota: set revoke time to avoid endless wait 26/50626/8
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 20 Mar 2024 05:37:22 +0000 (13:37 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Apr 2024 19:46:58 +0000 (19:46 +0000)
commit49730821c4e5116f188c931830ce23b2da2d8a41
treeca44dadfa2c1a23a196ed7702d0907bd0eba1c36
parente715a8c2a616f6d4158decfed5dec2fa444f0c67
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.

Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: Ib68c5dc881346e0e619d43553ee490847ae5e225
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50626
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/quota/qmt_entry.c