From owner-freebsd-hackers Tue Mar 13 11: 0:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 1130B37B71B for ; Tue, 13 Mar 2001 11:00:45 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2DJ0dA31509; Tue, 13 Mar 2001 11:00:40 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103131606.f2DG6QZ13532@billy-club.village.org> Date: Tue, 13 Mar 2001 11:00:16 -0800 (PST) From: John Baldwin To: Warner Losh Subject: Re: Patch to fix panic when detaching a mounted md device Cc: hackers@FreeBSD.org, Dima Dorfman , Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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