Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2004 18:13:47 +0100 (CET)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: HEADSUP: disk_*(9) API change mega-patch 
Message-ID:  <20040207181030.H619@korben.in.tern>
In-Reply-To: <40812.1075978752@critter.freebsd.dk>
References:  <40812.1075978752@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 2004, Poul-Henning Kamp wrote:

> In message <20040205114149.I618@korben.in.tern>, Lukas Ertl writes:
> >On Thu, 5 Feb 2004, Poul-Henning Kamp wrote:
> >
> >> This is a mostly mechanical and largely untested patch, so please test
> >> carefully if you have the necessary hardware.
> >>
> >> Kernel patch:
> >> 	http://phk.freebsd.dk/patch/disk.patch
> >> [...]
> >> This patch changes the disk_*(9) API so that ownership of the "struct
> >> disk" is moved from the device drivers to GEOM.  This removes a lot
> >> of trouble from the disk_destroy(9) handling, which should be robust
> >> with this patch.
> >
> >Will this be a solution for the deadlock we were discussing lately on
> >geom@?
>
> I belive so, reports confirming or denying this are most welcome.

OK, I now had time to actually try the patch, and removing disks now works
correctly, no deadlock anymore.

One thing I noticed, though, is that even after removal of the drive
there's still a /dev/da1 and /dev/da1s1 entry.

lg,
le

-- 
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040207181030.H619>