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

Łukasz Wąsikowski idaho at bydgoszcz.wsinf.edu.pl
Mon Aug 9 12:53:06 UTC 2010


W dniu 20:59, Martin Matuska pisze:

>  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.

Works great for raidz1. Thank you.

-- 
Best regards,
Lukasz Wasikowski


More information about the freebsd-fs mailing list