Whamcloud - gitweb
LU-17471 osd: add symlink for brw_stats 29/53829/9
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 26 Jan 2024 13:43:36 +0000 (21:43 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 31 Jan 2024 16:50:12 +0000 (16:50 +0000)
commit5fad20603098c55c0080548a177023a36e640e84
treeb3080e2bc016b790387fc2e0826f3a71209f3a89
parentd30e1dc85834cb3f7985da0c50f5fda5c7c5f0d9
LU-17471 osd: add symlink for brw_stats

Add symlink at /proc/fs/lustre/osd-*/*/brw_stats to
/sys/kernel/debug/lustre/osd-*/*/brw_stats to fix
the compatible issue of the previous utils that are
still using the old proc entry.

Test-Parameters: testlist=sanity env=ONLY=0f serverversion=2.15.4
Fixes: 8a84c7f9c7d6 ("LU-14927 osd: share brw_stats code between OSD back ends.")
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: Ie86b2b384e3b91f98ead00b6325ddeb020e47aa5
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_lproc.c
lustre/tests/sanity.sh