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

Add a helper function to parse percent for memory value

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The sysfs_memparse() function parses strings for memory size. The string format is a decimal value followed by a unit suffix.
      This ticket proposes to add a helper function to parse '%' unit and return the proportion of a total size.

      Attachments

        Activity

          People

            eaujames Etienne Aujames
            eaujames Etienne Aujames
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: