Whamcloud - gitweb
LU-18798 mdd: Exclude quotes from user.job xattr. 43/58943/24
authorAryan Gupta <argupta@ddn.com>
Thu, 24 Apr 2025 09:10:03 +0000 (03:10 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Jul 2025 13:21:06 +0000 (13:21 +0000)
commit182f1744f111734269508ad127134d80f1c7c9e5
tree32ded8602dff354389b4f74d312930aad0daa2f3
parenta889daac1e9a862fdcc44ed4bf5ceac7ccd960bc
LU-18798 mdd: Exclude quotes from user.job xattr.

Exclude quotes around the jobid string when saving it into the
user.job xattr. Adjusted the mdd_buf_get_const() call to use
jobid + 1 as the starting point and jobid_len - 2 as the length
when quotes are detected.

Test-Parameters: trivial
Signed-off-by: Aryan Gupta <argupta@ddn.com>
Change-Id: I4dcf7012572de71a0bb64f3376a9f2d8544c0684
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58943
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdd/mdd_dir.c