Whamcloud - gitweb
LU-11408 osc: propagate grant shrink interval immediately 04/33204/2
authorAlex Zhuravlev <bzzz@whamcloud.com>
Thu, 20 Sep 2018 07:47:03 +0000 (10:47 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:42:54 +0000 (03:42 +0000)
commit0b09a19bdf2db1c67635d86c7afbb8d3a90e351a
tree76d4d2421c8300ea4f9c97a733fda4e484a444e7
parent495deddfbb43f247b2fa9dd2da5743abc89cd862
LU-11408 osc: propagate grant shrink interval immediately

currently the new interval (updated with lctl) will be used
only when the next shrink happens. with default interval it
will take at least 20 minutes. instead we should refresh it
immediately.

Change-Id: Id22824e48fbc50c1f464316ab5b574d1189bb0c5
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33204
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/lproc_osc.c
lustre/osc/osc_internal.h
lustre/osc/osc_request.c