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: 164231a7 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>
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 41 additions, 3 deletionslustre/llite/lproc_llite.c
- lustre/llite/statahead.c 16 additions, 6 deletionslustre/llite/statahead.c
Loading
Please register or sign in to comment