Whamcloud - gitweb
LU-12585 mdt: Add read/write latency to MDT stats
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 27 Jan 2022 21:43:21 +0000 (16:43 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Feb 2022 04:02:56 +0000 (04:02 +0000)
commit1475553456c74f25022351ea9670d73b45863e38
tree4eec7f54d6a7891e6f40b49c6ad4fbb50d87b51a
parentda5223a245c6bf8f48ac634db4f8a05adc42cd96
LU-12585 mdt: Add read/write latency to MDT stats

The MDT does not currently record latency stats for reads
and writes.

Add this, and change the naming to be the same as for the
OFD.

Note on this:
Existing naming on the MDT uses "read/write" instead of
"{read,write}_bytes", which is inconsistent with OFD and
also inconsistent within the MDT, since other ops without
the "_bytes" suffix are latency.

It's not deal to change the names of existing stats, but I
decided this was less problematic than leaving them
inconsistent.

Lustre-change: https://review.whamcloud.com/46229/
Lustre-commit: ab1f7876b4b9e81738b1357395289aab76124255 (tbd)

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I7b7a5742678cbe0269086f37877833e877a5ca5f
Reviewed-on: https://review.whamcloud.com/46230
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_io.c
lustre/mdt/mdt_lproc.c