Whamcloud - gitweb
LU-2155 utils: Enable ldiskfs mmp on tunefs failover add 58/26758/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Wed, 19 Apr 2017 14:54:51 +0000 (10:54 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Apr 2017 03:37:36 +0000 (03:37 +0000)
commitee915fedac7a8a2d22ff07cb636094136848bfc4
tree87df0eeec7e57339ab998d43cfbf92d9dc471f85
parent23cc21d6f46e79900cf9b7b1bc32c2dda65121be
LU-2155 utils: Enable ldiskfs mmp on tunefs failover add

Enable Multi-Mount Protection in ldiskfs when adding a failover peer
via tunefs.  MMP is enabled in mkfs if failover is configured
initially, but it wasn't if failover was added later.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ie21ef5324de240afe0fd760cb4a9b3e1b4165064
Reviewed-on: https://review.whamcloud.com/26758
Tested-by: Jenkins
Reviewed-by: Zhiqi Tao <zhiqi.tao@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/utils/mount_utils_ldiskfs.c