Whamcloud - gitweb
LU-9772 utils: Enable new ZFS MMP on mkfs 51/28051/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Fri, 14 Jul 2017 17:39:10 +0000 (13:39 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Jul 2017 02:54:49 +0000 (02:54 +0000)
commit25e1cea871abd3c08dffb06ea62046ad84a822c1
tree0961c157b65dcd7003e94af163deac74a6d6e109
parent9761b5c6310321f336cb30e97f19ebdd136251ff
LU-9772 utils: Enable new ZFS MMP on mkfs

ZFS 0.7.0 come with new multi-modifier protection, this patch
enables it by default, on mkfs.

This also ensures canmount is off for pools that were not just
created.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: If9b87e9786e0eaefe5ac9a536edcdca3d1012585
Reviewed-on: https://review.whamcloud.com/28051
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/mount_utils_zfs.c