Whamcloud - gitweb
LU-17471 osd: add symlink for brw_stats
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 26 Jan 2024 13:43:36 +0000 (21:43 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 2 Feb 2024 16:05:53 +0000 (16:05 +0000)
commit20661e3b6187e53edb1eb5656980ffa6fe21c1ce
tree61f65d334f710f76ee1bb4166c86744c2f065e3b
parent7af58fe026a985a0e4f81adb1de20a91b48d5e14
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.

Lustre-change: https://review.whamcloud.com/53829
Lustre-commit: TBD (from 5fad20603098c55c0080548a177023a36e640e84)

Fixes: 8a84c7f9c7 ("LU-14927 osd: share brw_stats code between OSD back ends")
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: Ie86b2b384e3b91f98ead00b6325ddeb020e47aa5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53858
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_lproc.c
lustre/tests/sanity.sh