Whamcloud - gitweb
LU-18078 quota: check version to force_reint if needed 13/56513/6
authorHongchao Zhang <hongchao@whamcloud.com>
Thu, 3 Oct 2024 12:02:21 +0000 (20:02 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 2 Dec 2024 05:50:52 +0000 (05:50 +0000)
commitd06c56d2eb61f0eeee1eed9848101d5a9d6efcfd
treeee0af21655fd51b426ef1ccb9d7f8f29797c5bda
parentd3e400b086379e46635b0e0057b86b3be0828431
LU-18078 quota: check version to force_reint if needed

If the quota setting's version between QMT and QSD is mismatched,
the new quota request will be deferred and won't be applied if
the missing update with the version had been dropped.
This patch will check the version during processing the incoming
quota LDLM glimpse request and inside the QSD writeback thread,
and will trigger the force_reint if the missed version has not
been arrived in time.

Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: I1b33cfbb594e3f1595580d4190fd77efb55bc627
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56513
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/quota/qsd_internal.h
lustre/quota/qsd_reint.c
lustre/quota/qsd_writeback.c