Whamcloud - gitweb
LU-11079 llite: control concurrent statahead instances 09/32909/3
authorFan Yong <fan.yong@intel.com>
Wed, 13 Jun 2018 14:33:55 +0000 (22:33 +0800)
committerJohn L. Hammond <jhammond@whamcloud.com>
Mon, 13 Aug 2018 19:42:40 +0000 (19:42 +0000)
commitb52a1221bf1d655aacbef5b7d40b79fe6f51cef4
tree10bb74a2b537b8134dcb487faa87adef3cf41bb7
parent574e63fc86553510d87d02cd6d72785f341e48dc
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.

Lustre-change: https://review.whamcloud.com/32690
Lustre-commit: 164231a7a29b7203cd27ab624eddd5fb7c557b90

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I7251cc536f11d184f768e3d3704ba6717644541e
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/32909
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c [changed mode: 0644->0755]
lustre/llite/statahead.c