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>
Showing
- lustre/llite/llite_internal.h 10 additions, 1 deletionlustre/llite/llite_internal.h
- lustre/llite/llite_lib.c 1 addition, 0 deletionslustre/llite/llite_lib.c
- lustre/llite/lproc_llite.c 37 additions, 0 deletionslustre/llite/lproc_llite.c
- lustre/llite/statahead.c 16 additions, 7 deletionslustre/llite/statahead.c
Loading
Please register or sign in to comment