Closed joehandzik closed 7 years ago
@knweiss, would appreciate it if you took a look too, just to make sure all the metrics you are missing are accounted for.
Yes, I think the md_stats
are complete now:
lustre-release (master) $ git grep LPROC_MDT_|grep 'lprocfs_counter_init('
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_OPEN, 0, "open", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_CLOSE, 0, "close", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_MKNOD, 0, "mknod", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_LINK, 0, "link", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_UNLINK, 0, "unlink", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_MKDIR, 0, "mkdir", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_RMDIR, 0, "rmdir", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_RENAME, 0, "rename", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_GETATTR, 0, "getattr", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_SETATTR, 0, "setattr", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_GETXATTR, 0, "getxattr", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_SETXATTR, 0, "setxattr", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_STATFS, 0, "statfs", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_SYNC, 0, "sync", "reqs");
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_SAMEDIR_RENAME, 0,
lustre/mdt/mdt_lproc.c: lprocfs_counter_init(stats, LPROC_MDT_CROSSDIR_RENAME, 0,
lustre-release (master) $ git grep LPROC_MDT_|grep 'lprocfs_counter_init('|wc -l
16
Fixes issue #62.
Signed-Off-By: Joe Handzik joseph.t.handzik@hpe.com