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

improve FID/config name specification for lctl llog_print and llog_info

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • None
    • 9223372036854775807

    Description

      Current llog name specification is totally non-standard for lctl llog_print, llog_info, and related commands. Change this to optionally accept config llog names without the leading '$', since adding '$' is non-intuitive and the shell will think this is a variable and "$fsname-client" becomes "-client".

      Similarly, llog identifiers are formatted like "#0x4:10#0000000" instead of the standard FID format [0x4:0x10:0x0]. Update the code to print FIDs in standard format.

      Attachments

        Issue Links

          Activity

            [LU-9153] improve FID/config name specification for lctl llog_print and llog_info
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-15936 [ LU-15936 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LUDOC-352 [ LUDOC-352 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9994 [ LU-9994 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-567 [ LDEV-567 ]
            adilger Andreas Dilger made changes -
            Description New: Current llog name specification is totally non-standard for {{lctl llog_print}}, {{llog_info}}, and related commands. Change this to optionally accept config llog names without the leading '$', since adding '$' is non-intuitive and the shell will think this is a variable and "{{$fsname-client}}" becomes "{{-client}}".

            Similarly, llog identifiers are formatted like "{{#0x4:10#0000000}}" instead of the standard FID format {{[0x4:0x10:0x0]}}. Update the code to print FIDs in standard format.
            adilger Andreas Dilger made changes -
            Link New: This issue is related to PP-269 [ PP-269 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-2149 [ LU-2149 ]
            adilger Andreas Dilger created issue -

            People

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

              Dates

                Created:
                Updated:
                Resolved: