kern/145339: [zfs] deadlock after detaching block device from
raidz pool
Andriy Gapon
avg at icyb.net.ua
Thu Apr 22 23:00:13 UTC 2010
The following reply was made to PR kern/145339; it has been noted by GNATS.
From: Andriy Gapon <avg at icyb.net.ua>
To: Alex Bakhtin <alex.bakhtin at gmail.com>
Cc: bug-followup at freebsd.org, Pawel Jakub Dawidek <pjd at freebsd.org>
Subject: Re: kern/145339: [zfs] deadlock after detaching block device from
raidz pool
Date: Fri, 23 Apr 2010 01:55:28 +0300
Can you try this patch?
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
@@ -603,6 +603,9 @@ vdev_geom_io_intr(struct bio *bp)
zio = bp->bio_caller1;
ctx = zio->io_vd->vdev_tsd;
+ if (ctx == NULL)
+ return;
+
if ((zio->io_error = bp->bio_error) == 0 && bp->bio_resid != 0)
zio->io_error = EIO;
--
Andriy Gapon
More information about the freebsd-fs
mailing list