Whamcloud - gitweb
LU-15071 utils: tunefs erease-params for zfs
authorAlexander Boyko <alexander.boyko@hpe.com>
Tue, 18 Jan 2022 08:16:21 +0000 (00:16 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jan 2022 21:02:55 +0000 (21:02 +0000)
commitce39e221abeecac1dcf7298b75dce6719798985e
tree3990513c0937dd73d41c70bf8628461608b050c3
parentb4711b31e93b160ff6e8c4dc1e1240f5adddf0bd
LU-15071 utils: tunefs erease-params for zfs

The patch exclude special zfs params for tunefs erase-params,
skip nvlist modifying. Also fixes test_89 conf-sanity.

tunefs --erase-params produced segmentation fault with old code.

Lustre-change: https://review.whamcloud.com/45145
Lustre-commit: d67bd765f67082204094a20373b4e2c476ecfd81

Test-Parameters: trivial fstype=zfs testlist=conf-sanity
HPE-bug-id: LUS-10314
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: Ic8385a99ca896ce6d855692b3f77e198bf583d94
Reviewed-on: https://review.whamcloud.com/46159
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/conf-sanity.sh
lustre/utils/libmount_utils_zfs.c