Whamcloud - gitweb
LU-17005 obdclass: allow stats header to be disabled
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 31 Jul 2023 17:53:22 +0000 (11:53 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 1 Aug 2023 22:03:27 +0000 (22:03 +0000)
commit5f9dd7b55274205bf054d023dc3d12c5fbf10b92
treecdae396d134a5ae7a80e65375bdbcba7e2d72a9b
parent5b81b1e707ce0ace30e555ac31132a0cbff1e5b7
LU-17005 obdclass: allow stats header to be disabled

Add a global "enable_stats_header" tunable parameter that can be
set to enable/disable the "start_time" and "elapsed_time" fields
in the standard lprocfs "stats" files.

Default to disabled for EXA6.2.1, since this is new for this release.

Lustre-change: https://review.whamcloud.com/51823
Lustre-commit: TBD (from 370a81bf07f3e3856f73900f276495fb7a2b5223)

Test-Parameters: trivial
Fixes: 5efb892396e3 ("LU-11407 obdclass: add start time to stats files")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I460b957447bfb83e6d4fd7395b79ce994f3ebbe5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51824
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_status.c
lustre/obdclass/obd_sysfs.c
lustre/tests/sanity.sh