Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18748

add "statfs_state" parameter to all OBD/OSP devices

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • 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.

      Attachments

        Activity

          People

            adilger Andreas Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: