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

clearing jobstats should match output format

    XMLWordPrintable

Details

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

    Description

      With the escaping of special characters in patch https://review.whamcloud.com/37764 "LU-11407 tgt: cleanup job_stats output printing" and truncation of log JobIds in patch https://review.whamcloud.com/49351 "LU-16376 obdclass: NUL terminate long jobid strings" it may be that the requested "clear" of a specific JobID in lprocfs_jobstats_seq_write(), considering that the format printed via "lctl get_param ..job_stats" does not match the internal name stored for the job.

      The written JobID to clear should be de-quoted, un-escaped and then truncated to match the 32-char JobID that is stored internally in ojs_hash.

      Attachments

        Issue Links

          Activity

            People

              flei Feng Lei
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: