Whamcloud - gitweb
LU-19017 osd-ldiskfs: fix lprocfs stats print 35/59235/2
authorOleg Drokin <green@whamcloud.com>
Wed, 14 May 2025 18:24:50 +0000 (14:24 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 May 2025 05:19:07 +0000 (05:19 +0000)
It was mentioning zfs accidentally.

Test-Parameters: trivial
Fixes: a20476ca2286 ("LU-11850 obd: support the rest of "stats" with Netlink")
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Change-Id: I51334ca03dcb69c59a20e62325d2442b5ea5bac8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59235
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/osd-ldiskfs/osd_lproc.c

index f959100..6419d3d 100644 (file)
@@ -89,7 +89,7 @@ static int osd_stats_init(struct osd_device *osd)
        int result = -ENOMEM;
 
        ENTRY;
-       scnprintf(param, sizeof(param), "osd-zfs.%s.stats", osd_name(osd));
+       scnprintf(param, sizeof(param), "osd-ldiskfs.%s.stats", osd_name(osd));
        osd->od_stats = ldebugfs_stats_alloc(LPROC_OSD_LAST, param,
                                             osd->od_dt_dev.dd_debugfs_entry,
                                             0);