Whamcloud - gitweb
LU-11850 obd: support the rest of "stats" with Netlink 05/57305/3
authorJames Simmons <jsimmons@infradead.org>
Wed, 26 Feb 2025 18:47:19 +0000 (11:47 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Mar 2025 23:32:12 +0000 (23:32 +0000)
commita20476ca22862d4efa185d0563e552c271d2e82a
treeec942abb70850665e4d9f53203027efeacf60a4b
parent96c94ab3c44a4c5ab7d6b26e33df59df89bf2d53
LU-11850 obd: support the rest of "stats" with Netlink

Migrate the remaining "stats" files to the debugfs Netlink API
except for the exports stats. Its is possible that we lack
a kobject and a debugfs dentry so we can end up in a case
that we can't derive a name. So change the API to supply
the stat source name instead. Update the stats packet size
calculate based on the new debugging info in the function
lnet_genl_parse_list().

Test-Parameters: trivial
Change-Id: If52dfb2807cbdcd9a24e9334edfa2101a8483fdd
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57305
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lnet/lnet/api-ni.c
lustre/include/lprocfs_status.h
lustre/ldlm/ldlm_pool.c
lustre/llite/lproc_llite.c
lustre/obdclass/kernelcomm.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/lprocfs_status_server.c
lustre/ofd/lproc_ofd.c
lustre/osd-ldiskfs/osd_lproc.c
lustre/osd-zfs/osd_lproc.c
lustre/osp/lproc_osp.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/ptlrpc_internal.h
lustre/ptlrpc/service.c