Date: Thu, 22 Apr 2010 23:00:06 GMT From: Andriy Gapon <avg@icyb.net.ua> To: freebsd-fs@FreeBSD.org Subject: Re: kern/145339: [zfs] deadlock after detaching block device from raidz pool Message-ID: <201004222300.o3MN06Ik019236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/145339; it has been noted by GNATS. From: Andriy Gapon <avg@icyb.net.ua> To: Alex Bakhtin <alex.bakhtin@gmail.com> Cc: bug-followup@freebsd.org, Pawel Jakub Dawidek <pjd@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004222300.o3MN06Ik019236>