Whamcloud - gitweb
LU-12631 llite: report latency for filesystem ops 78/36078/12
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Sep 2019 07:50:44 +0000 (01:50 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 12 Nov 2019 04:06:29 +0000 (04:06 +0000)
commitea58c4cfb0fc255befbbb7754bd4ed71704a2a2c
tree8bf2974547da11fb1db2fbad411a6bf991221ca0
parent8a0a6dbec5537764958d4863e76de249fdd675a4
LU-12631 llite: report latency for filesystem ops

Add the elapsed time of VFS operations to the llite stats
counter, instead of just tracking the number of operations,
to allow tracking of operation round-trip latency.

Update sanity test_127[ab] to check that llite.*.stats and
osc.*.stats counter shows read/write stats in usec, and
fix code style nearby.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I40e188374f91c030d978a83157d8869e928cab07
Reviewed-on: https://review.whamcloud.com/36078
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
contrib/scripts/spelling.txt
lustre/include/lprocfs_status.h
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_mmap.c
lustre/llite/lproc_llite.c
lustre/llite/namei.c
lustre/llite/super25.c
lustre/llite/xattr.c
lustre/tests/sanity.sh