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

Improve proc file text in lproc_llite.c

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      Several improvements were suggested in LU-8186 for the text displayed in the /proc/fs/lustre/llite/.../extents_stats* files. The relevant text occurs multiple times in lustre/llite/lproc_llite.c:

      seq_puts(seq, "disabled\n write anything in this file to activate, then 0 or \"[D/d]isabled\" to deactivate\n");
      

      The following changes should be made to all occurrences of the text:

      • Use single quotes to avoid the need for escapes.
      • Simplify the message by only mentioning "disabled" with lower case, and silently continue to accept "Disabled".
      • Use a | to separate the two options to be consistent with accepted usage.
      • Replace "in this file" with "to this file"

      Attachments

        Activity

          People

            sguminsx Steve Guminski (Inactive)
            sguminsx Steve Guminski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: