Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
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
Fix Version/s | New: Lustre 2.16.0 [ 15190 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Summary | Original: clearning jobstats should match output format | New: clearing jobstats should match output format |
Description |
Original:
With the escaping of special characters in patch https://review.whamcloud.com/37764 "{{ The written JobID to clear should be un-escaped and then truncated to match the 32-char JobID that is stored internally in {{ojs_hash}}. |
New:
With the escaping of special characters in patch https://review.whamcloud.com/37764 "{{ 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}}. |
Landed for 2.16