Whamcloud - gitweb
LU-15071 utils: tunefs erease-params for zfs 45/45145/2
authorAlexander Boyko <alexander.boyko@hpe.com>
Thu, 7 Oct 2021 09:57:41 +0000 (05:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Oct 2021 00:37:50 +0000 (00:37 +0000)
commitd67bd765f67082204094a20373b4e2c476ecfd81
tree29e51ccf1dad735ee6aacfc6cc32281d13c5ede0
parentb6ac7490f3a30c80dba8453dc7240a56780b953b
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.

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/45145
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh
lustre/utils/libmount_utils_zfs.c