Whamcloud - gitweb
LU-14927 osd: share brw_stats code between OSD back ends.
authorJames Simmons <jsimmons@infradead.org>
Mon, 25 Oct 2021 20:56:31 +0000 (16:56 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 21 Oct 2023 17:40:19 +0000 (17:40 +0000)
commitcee13e757f4a2d1a9285a4d25818b6691b5c78e2
treef72972c5ad7a0da3a5ff5796f9df42c946beb8c6
parent17b2cb85b3da909a5d53327fa1108d94926f498e
LU-14927 osd: share brw_stats code between OSD back ends.

Both the ldiskfs and ZFS OSD backend handle brw_stats. With the
stricter GPL requirement ZFS can no longer carry the brw_stats
code. So move the common code to lprocfs_status_server.c as
well as move brw_stats to debugfs as well.

Lustre-change: https://review.whamcloud.com/44690
Lustre-commit: 8a84c7f9c7d65f6f880be6fe4d94fca26a405d81

Change-Id: I294e5df3557552266dd3a02d3bc9844c42c01f60
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52766
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_status_server.c
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_lproc.c