Whamcloud - gitweb
LU-11004 ptlrpc: Serialize procfs access to scp_hist_reqs using mutex 07/32307/2
authorAndriy Skulysh <c17819@cray.com>
Thu, 12 Apr 2018 13:12:05 +0000 (16:12 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Jul 2018 18:05:14 +0000 (18:05 +0000)
commit413a738a37d7a8cacc41f5843bfe2aef286be62b
tree532c9573deb4f4752b8ac0e22caec8ef241aeab7
parent5761b9576d39c44c02455b86eb86ce1276930e60
LU-11004 ptlrpc: Serialize procfs access to scp_hist_reqs using mutex

scp_hist_reqs list can be quite long thus a lot of
userland processes can waste CPU power in spinlock cycles.

Change-Id: Ic0fa7338569f9a19213a1dc31f5479c96a76d23a
Cray-bug-id: LUS-5833
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Reviewed-on: https://review.whamcloud.com/32307
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_net.h
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/service.c