Whamcloud - gitweb
LU-15031 quota: reseed glbe in qmt_lvbo_udate 32/45032/13
authorSergey Cheremencev <sergey.cheremencev@hpe.com>
Tue, 25 May 2021 22:44:48 +0000 (01:44 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Jan 2022 22:02:19 +0000 (22:02 +0000)
commit61ec1e0f2ca8dc4c9f7ed41f782960e65cab0920
tree714c89007350e8997994e886329a1f74eee19a51
parentabd0ce62e96523193bfc2e2a3f574bc59d6c9f7c
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.

HPE-bug-id: LUS-10029
Change-Id: I5b7e1a553e3351c22649431860d51b5a671c6fd9
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Reviewed-on: https://review.whamcloud.com/45032
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/quota/qmt_handler.c
lustre/quota/qmt_lock.c
lustre/tests/sanity-quota.sh