mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
vdev probe to slow disk can stall mmp write checker
Simplify vdev probes in the zio_vdev_io_done context to avoid holding the spa config lock for a long duration. Also allow zpool clear if no evidence of another host is using the pool. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Don Brady <don.brady@klarasystems.com> Closes #15839
This commit is contained in:
+4
-2
@@ -2532,8 +2532,10 @@ zio_suspend(spa_t *spa, zio_t *zio, zio_suspend_reason_t reason)
|
||||
"failure and the failure mode property for this pool "
|
||||
"is set to panic.", spa_name(spa));
|
||||
|
||||
cmn_err(CE_WARN, "Pool '%s' has encountered an uncorrectable I/O "
|
||||
"failure and has been suspended.\n", spa_name(spa));
|
||||
if (reason != ZIO_SUSPEND_MMP) {
|
||||
cmn_err(CE_WARN, "Pool '%s' has encountered an uncorrectable "
|
||||
"I/O failure and has been suspended.\n", spa_name(spa));
|
||||
}
|
||||
|
||||
(void) zfs_ereport_post(FM_EREPORT_ZFS_IO_FAILURE, spa, NULL,
|
||||
NULL, NULL, 0);
|
||||
|
||||
Reference in New Issue
Block a user