]> 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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 22 Feb 2018 17:14:46 +0000 (09:14 -0800)
commit0d398b25644ff1eb67141629bc6e5aead95edeba
tree1412f69b0b069e6b73ce2c8f8a60150d093dbf52
parenta5369b61a24cf75d8188af8ee554123cf7fae14c
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