Whamcloud - gitweb
LU-14516 mgc: configurable wait-to-reprocess time
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 12 Mar 2021 09:00:37 +0000 (12:00 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 8 Sep 2021 17:34:01 +0000 (17:34 +0000)
commit05a4be7c2905159e959e781b1af34d4d8c214700
treeea47553b4913cefa324cf753626ef5bad8b3f581
parent66972734fdd35a2813ceb7f50aeb4fefa064ad2d
LU-14516 mgc: configurable wait-to-reprocess time

so we can set it shorter, for testing purposes at least. to change
minimal wait time MGC module option 'mgc_requeue_timeout_min'
should be used (in seconds). additionally a random value up to
mgc_requeue_timeout_min is added to avoid a flood of config re-read
requests from clients. if mgc_requeue_timeout_min is set to 0,
then random part will be up to 1 second.

  ost-pools: before: 5840s, after:a 3474s
  sanity-flr: before: 1575s, after: 1381s
  sanity-quota: before: 10679s, after: 9703s

Lustre-change: https://review.whamcloud.com/42020
Lustre-commit: 04b2da6180d3c8eda21f7ab36c676462be041b74

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Iff7dad4ba14d687b7e891a1c346397e4c370800d
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44788
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mgc/mgc_internal.h
lustre/mgc/mgc_request.c
lustre/tests/test-framework.sh
lustre/utils/obd.c