Whamcloud - gitweb
LU-14516 mgc: configurable wait-to-reprocess time 20/42020/19
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 12 Mar 2021 09:00:37 +0000 (12:00 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Jun 2021 15:26:26 +0000 (15:26 +0000)
commit04b2da6180d3c8eda21f7ab36c676462be041b74
treef35a3c84eabcae8c37968412df4b56f33ec3e449
parentebdf71a2df044c441ff633dbfc2f463520892bfb
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 upto
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 upto 1 second.

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

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