Whamcloud - gitweb
LU-16097 quota: release preacquired quota when over limits 76/48576/25
authorHongchao Zhang <hongchao@whamcloud.com>
Thu, 19 Oct 2023 06:33:47 +0000 (14:33 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 22:01:27 +0000 (22:01 +0000)
commit57ac32a22372065b789ca491a568f075e755d339
tree1092d433a1eece92cb8b438788eb4d7c31aad0a1
parent6fbffd9c09ad4526ce3a03b8d85f0ce273cac037
LU-16097 quota: release preacquired quota when over limits

The pre-acquired quota on each MDT or OST should be released when
the whole quota is over limits, for instance, after the quota limits
had been decreased for some quota ID by Administrator.

Test-Parameters: testlist=sanity-quota ossversion=2.15.3
Test-Parameters: testlist=sanity-quota mdsversion=2.15.3
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: I6263b835d4ae6a3fd03f9a2bc4f463949cbc74d4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48576
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/quota/lquota_internal.h
lustre/quota/qmt_lock.c
lustre/quota/qsd_entry.c
lustre/quota/qsd_handler.c
lustre/quota/qsd_lock.c
lustre/quota/qsd_writeback.c
lustre/tests/sanity-quota.sh