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

allow mkfs.lustre --index to be specified in hex

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.8.0
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      The mkfs.lustre --index argument should be able to handle hex index values as well as decimal values, especially since the OSTxxxx identifiers are printed in hexadecimal as well.

      The current code uses atol() currently, but should be changed to strtoul(,,0) so that it can also accept index values of the form 0xnnnn and handle better error checking.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wc-triage WC Triage
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: