kern/148655: [zfs] Booting from a degraded raidz no longer works in 8-STABLE [regression]

Andriy Gapon avg at icyb.net.ua
Thu Aug 5 16:40:12 UTC 2010


The following reply was made to PR kern/148655; it has been noted by GNATS.

From: Andriy Gapon <avg at icyb.net.ua>
To: Martin Matuska <mm at FreeBSD.org>
Cc: bug-followup at FreeBSD.org, am at raisa.eu.org,
        Pawel Jakub Dawidek <pjd at FreeBSD.org>, Xin LI <delphij at FreeBSD.org>
Subject: Re: kern/148655: [zfs] Booting from a degraded raidz no longer works
 in 8-STABLE [regression]
Date: Thu, 05 Aug 2010 19:38:17 +0300

 on 05/08/2010 19:23 Martin Matuska said the following:
 > A proposed patch is attached.
 > 
 > The function vdev_read_phys() (sys/boot/zfs/zfsimpl.c, #325) does call
 > vdev->v_phys_read() without checking if that function is registered.
 > 
 > This check should be done in vdev_read_phys before doing anything else.
 > 
 > vdev_create initializes vdev->v_phys_read as 0 and unavailable vdevs
 > keep this value.
 
 Looks very good.
 Thanks!
 
 -- 
 Andriy Gapon


More information about the freebsd-fs mailing list