Whamcloud - gitweb
LU-18803 class: add namelen_max and maxbytes params 97/58397/6
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 13 Mar 2025 08:07:29 +0000 (02:07 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Mar 2025 04:03:34 +0000 (04:03 +0000)
commitdbaccf19f4bc496b90a8a93db76d32cbe889db46
treeee727198e6bfae52e3b1b48b76a37b9fdcd7370f
parentdc54ff33100d91912c2857523d59ce00022becc3
LU-18803 class: add namelen_max and maxbytes params

Add parameters for all OSD/OBD devices to print the statfs
os_namelen and os_maxbytes values from the respective devices.
This allows checking these values more easily from test scripts.

Update test_79 to print the values (for functionality) and test
that the llite.*.namelen_max matches the value of sbi->ll_statfs.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I613b364e62f729c033a0ece29e18507caa869122
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58397
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_dev.c
lustre/lov/lov_request.c
lustre/obdclass/dt_object.c
lustre/obdclass/lprocfs_status.c
lustre/tests/sanity.sh