Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
It would be useful to have a statfs_state parameter for all of the OSD/OSP devices, alongside the existing kbytesfree, kbytestotal, filesfree, and filestotal parameters. This should print the OS_STATE_* flags from the (cached) obd_statfs struct on the OBD device (or as appropriate) in the same format as "lfs df -v" is printing.
That probably means static struct obd_statfs_state_names should be moved into lustre_user.h for use in both the kernel and userspace.