Whamcloud - gitweb
LU-8708 osc: enable/disable OSC grant shrink 03/23203/18
authorBobi Jam <bobijam@whamcloud.com>
Mon, 17 Oct 2016 09:50:41 +0000 (17:50 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 1 Sep 2018 03:28:43 +0000 (03:28 +0000)
commit3e070e30a98dfebb63e016c06c3054ea136149f1
tree0431f04c9c9678e9329d9562d77a158333d12ac8
parent325e23899aa38de32ec00b19ed675bcc64c6e5c8
LU-8708 osc: enable/disable OSC grant shrink

Add an OSC proc interface to enable/disable client's grant shrink
feature.

lctl get_param osc.*.grant_shrink
lctl set_param osc.*.grant_shrink={0,1}

Change-Id: I7974b3bf1c4f9c294dd0d4871d09b1a2e45a8d78
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/23203
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/lproc_osc.c