Whamcloud - gitweb
LU-15031 quota: reseed glbe in qmt_lvbo_udate
authorSergey Cheremencev <sergey.cheremencev@hpe.com>
Fri, 28 Oct 2022 10:29:03 +0000 (18:29 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 31 Oct 2022 04:08:21 +0000 (04:08 +0000)
commit3074aac49bbe9401db6bd16859edd9c51cee8368
treed3f56ef5559117fe1384c0f0f1362a434a8a36df
parent4164a891224db3de230dc1d40d6330b9bd1b1cd2
LU-15031 quota: reseed glbe in qmt_lvbo_udate

Reseed glbe array in qmt_lvbo_update after changing edquot.
Without a fix edquot flag wasn't set in glbe array. Later,
when edquot was cleared, need_update(nu) flag wasn't set
in glbe array to notify OSTs with a new edquot.

The patch also adds test 80 to check that OST gets correct
edquot value after failover.

Lustre-change: https://review.whamcloud.com/45032
Lustre-commit: 61ec1e0f2ca8dc4c9f7ed41f782960e65cab0920

HPE-bug-id: LUS-10029
Change-Id: I5b7e1a553e3351c22649431860d51b5a671c6fd9
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/46655
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/obd_support.h
lustre/quota/qmt_handler.c
lustre/quota/qmt_lock.c
lustre/tests/sanity-quota.sh