Date: Mon, 09 Aug 2010 14:31:22 +0200 From: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <idaho@bydgoszcz.wsinf.edu.pl> To: Martin Matuska <mm@FreeBSD.org> Cc: freebsd-fs@FreeBSD.org Subject: Re: Re: kern/148655: [zfs] Booting from a degraded raidz no longer works in 8-STABLE [regression] Message-ID: <4C5FF51A.3060401@bydgoszcz.wsinf.edu.pl> In-Reply-To: <201008051630.o75GUBig092787@freefall.freebsd.org> References: <201008051630.o75GUBig092787@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C5FF51A.3060401>