Whamcloud - gitweb
LU-14927 osd: share brw_stats code between OSD back ends. 90/44690/8
authorJames Simmons <jsimmons@infradead.org>
Mon, 25 Oct 2021 20:56:31 +0000 (16:56 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 Nov 2021 06:25:30 +0000 (06:25 +0000)
commit8a84c7f9c7d65f6f880be6fe4d94fca26a405d81
tree6f0c24a8d100e0388e48ff591a67636fe79056b5
parenta15a5432f8063e3a04a87d74eafac0060a8f9d26
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.

Change-Id: I294e5df3557552266dd3a02d3bc9844c42c01f60
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44690
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@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