]> git.proxmox.com Git - mirror_zfs.git/commit
Do not initiate MMP writes while pool is suspended
authorOlaf Faaland <faaland1@llnl.gov>
Thu, 22 Feb 2018 17:14:46 +0000 (09:14 -0800)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:37 +0000 (16:10 -0700)
commitb1f61f05b4b2edc77ec5f3d28d041d7b3c873f01
tree76c3778cbf081a1058ba638adb39e620d2e6b9bd
parente5ba614d05bde1e98ba46d5b75cf6b8a0701c2ca
Do not initiate MMP writes while pool is suspended

While the pool is suspended on host A, it may be imported on host B.
If host A continued to write MMP blocks, it would be blindly
overwriting MMP blocks written by host B, and the blocks written by
host A would have outdated txg information.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #7182
module/zfs/mmp.c