Whamcloud - gitweb
LU-17512 utils: new ? operator for jobid_name 32/55332/13
authorMaximilian Dilger <mdilger@whamcloud.com>
Thu, 6 Jun 2024 05:27:05 +0000 (01:27 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Jul 2024 04:41:37 +0000 (04:41 +0000)
commitecdcaa398668291dcfad26c4e21745dbfee19bc4
tree46d90eaebfa14a97e4eb5c6ae8021c267e4e9983
parent05da63d18c4fd6506197f284473060a0329ee7ac
LU-17512 utils: new ? operator for jobid_name

Added new ? operator when setting the jobid_name. The intended use
is: "jobid_name=%j?%H" This will use the jobid if it is available
and otherwise uses the short hostname.

Signed-off-by: Maximilian Dilger <mdilger@whamcloud.com>
Change-Id: I418860fce5a81aa8a0a0a43c2d8bdb6d107779f9
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55332
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Thomas Bertschinger <bertschinger@lanl.gov>
lustre/obdclass/jobid.c
lustre/tests/sanity.sh