Whamcloud - gitweb
LU-18587 utils: allow large NID lists in mount tools 60/57560/10
authorMikhail Pershin <mpershin@whamcloud.com>
Thu, 19 Dec 2024 22:00:20 +0000 (01:00 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 18 Jan 2025 22:05:51 +0000 (22:05 +0000)
commitf9d346f0c18efde1fb288549fa37e4f91364e544
tree8bb3d9274c7e21cc1c391e52af4bda188f9ed546
parentfaeb178bcaa5f466fe430c400a75441fedb124fb
LU-18587 utils: allow large NID lists in mount tools

While ldd_params are 4096 bytes long a NID lists in params
"failnode" and "mgsnode" are limited by 1024 bytes only.

Patch removes that limitation and allows as many NIDs as
can fit into ldd_params 4k total size

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I8f3867e0f31c75e6261434d4aef48eaf4e8f4507
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57560
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/include/uapi/linux/lustre/lustre_param.h
lustre/tests/conf-sanity.sh
lustre/utils/mount_utils.c