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

Expand available multiop command letters with prefix

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The multiop test utility uses single-letter commands (a-z, A-Z) to perform various file operations. We've used up most of the alphabet - only 4 letters remain unused (b, h, k, q). We need a way to expand beyond the current 52-command limit without breaking existing tests.

      Solution:

      Implement two-character prefix commands using the unused letters. A prefix letter 'q' would be followed by a second character to specify the actual command (e.g., 'qe', 'qf', 'qg', etc.). This gives us ~50 additional commands per prefix letter.

      This is the only safe expansion method because all existing commands can be chained together (e.g., Oc means "open then close"), so we can't repurpose any currently-used letters as prefixes.

      Finally, we reserve 'qq' as a sub-prefix, for a distant future where we need >100 multiop commands, so this solution is scalable.

      Attachments

        Activity

          People

            paf0186 Patrick Farrell
            paf0186 Patrick Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: