Date: Tue, 13 Mar 2001 11:00:16 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Warner Losh <imp@village.org> Cc: hackers@FreeBSD.org, Dima Dorfman <dima@unixfreak.org>, Poul-Henning Kamp <phk@critter.freebsd.dk> Subject: Re: Patch to fix panic when detaching a mounted md device Message-ID: <XFMail.010313110016.jhb@FreeBSD.org> In-Reply-To: <200103131606.f2DG6QZ13532@billy-club.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13-Mar-01 Warner Losh wrote: > In message <5663.984480931@critter> Poul-Henning Kamp writes: >: In message <20010313071744.C988C3E09@bazooka.unixfreak.org>, Dima Dorfman >: write >: s: >: >Hello -hackers >: > >: >Right now, if you try to detach an md device that's currently mounted, >: >you will get a panic (maybe not immedietely, but it will come, esp. >: >: This is intentional, I want md(4) to mimic the behaviour of "real" >: disks as closely as possible, including the fact that it may disappear >: without notice or caution. > > We should then fix the rest of the system to deal with disks that > disappear without notice. At the very least the md code should propagate an error back up to the top level and not panic. > Warner -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010313110016.jhb>