Closed prakashsurya closed 12 years ago
Since we never expect anyone (including us) to use a lustre 1.8 derived zfs version, it probably just makes sense to have zfs imply PROC_FS_LUSTRE_2_0_MDT_STATS.
OK. That works for me. I'll fix up a patch for that and send a pull request.
The
_build_osd_stats_path
function assumesPROC_FS_LUSTRE_1_8_MDT_STATS
in the case of_find_lustre_backfs_type (ctx) == BACKFS_ZFS
.For the current version of Orion:
This assumption is incorrect and
PROC_FS_LUSTRE_2_0_MDT_STATS
should be used.I have tested the patch:
https://github.com/Prakash-Surya/lmt/commit/23fd9a80d006c3615e65a85cb443608e97cdcb47
And verified I can see the MDops/s number fluctuate as expected. Without the patch they all show 0.