Whamcloud - gitweb
LU-10391 obdclass: truncate large uuids 67/55767/7
authorChris Horn <chris.horn@hpe.com>
Mon, 15 Jul 2024 18:33:41 +0000 (12:33 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Aug 2024 23:48:51 +0000 (23:48 +0000)
commit367e607de650ad9a98e50b208f65fda5a9fd4d28
tree824a45012789de02be463ea5ec53823f2a1b4ed7
parent5464c0eabdcecc370e7edfe1f3fed8effcc0d16e
LU-10391 obdclass: truncate large uuids

With large NIDs it is now possible for UUIDs, based on NID strings, to
exceed UUID_MAX length. To handle this, these large NID strings are
truncated.

Test-Parameters: trivial testlist=conf-sanity
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Ic6b9310c9bf8a598e3cc87575c85f43ef4577345
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55767
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ldlm/ldlm_lib.c
lustre/mgs/mgs_llog.c
lustre/obdclass/obd_mount.c