Whamcloud - gitweb
LU-17079 utils: improve mkfs.lustre error messages, do cleanup 23/52223/7
authorTimothy Day <timday@amazon.com>
Fri, 1 Sep 2023 16:28:15 +0000 (16:28 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 28 Feb 2025 08:10:44 +0000 (08:10 +0000)
commit089c3a75fde95ff643f2e0b40a4e14da0debd05a
treefb60fb32265fa04fe8a14933a62a479a8ac03446
parent16b9bd70e1b6353c9f6850e3be91cb8255aec7e6
LU-17079 utils: improve mkfs.lustre error messages, do cleanup

Several error message have been changed to output the real error.
This should make it much easier to debug certain types of issues.

Many conditional compilation macros have been cleaned up. Since
this utilies have loadable plugings, we can't know at compile
time which backend storage types are going to be supported.
Plus, these macros add complexity to the code.

Test-Parameters: trivial
Test-Parameters: trivial fstype=zfs
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ifcd20cc9fa389a6440b453f6236c41b3a80d92d3
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52223
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/libmount_utils_zfs.c
lustre/utils/mkfs_lustre.c
lustre/utils/mount_utils.c
lustre/utils/mount_utils.h