Whamcloud - gitweb
LU-11079 llite: control concurrent statahead instances 90/32690/7
authorFan Yong <fan.yong@intel.com>
Wed, 13 Jun 2018 14:33:55 +0000 (22:33 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Jul 2018 05:59:16 +0000 (05:59 +0000)
commit164231a7a29b7203cd27ab624eddd5fb7c557b90
tree00c85a9dbed74e7aba053916ecdb2da16310bfd4
parentf4618338643441970131f957f2a346ae3a455197
LU-11079 llite: control concurrent statahead instances

It is found that if there are too many concurrent statahead
instances, then related statahead RPCs may accumulate on the
client import (for MDT) RPC lists
(imp_sending_list/imp_delayed_list/imp_unreplied_lis), as to
seriously affect the efficiency of spin_lock under the case
of MDT overloaded or in recovery. Be as the temporarily solution,
restrict the concurrent statahead instances.

If want to support more concurrent statahead instances, please
consider to decentralize the RPC lists attached on related import.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I7251cc536f11d184f768e3d3704ba6717644541e
Reviewed-on: https://review.whamcloud.com/32690
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/llite/statahead.c