Date: Wed, 06 May 2009 10:55:43 -0600 From: Scott Long <scottl@samsco.org> To: "Leubner, Achim" <Achim_Leubner@adaptec.com> Cc: Ed Maste <emaste@phaedrus.sandvine.ca>, "current@freebsd.org" <current@freebsd.org>, "Sridaran, Gana" <Ganapathy_Sridaran@adaptec.com> Subject: Re: softdep_move_dependencies panic Message-ID: <4A01C10F.4060805@samsco.org> In-Reply-To: <532ABFBDAAC3A34EB12EBA6CEC2838F4020B67FCE8@ADPE2K703.adaptec.com> References: <532ABFBDAAC3A34EB12EBA6CEC2838F4020B67FCE8@ADPE2K703.adaptec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
No, there is no fix for this. FreeBSD doesn't handle this case very well. What I would suggest doing is keeping the logical representation of the device around, but indicate that it has failed. Then complete all i/o with good status. This is something that is being worked on, but I have no information on when it might be fixed. Scott Leubner, Achim wrote: > Hi Ed, Hi Scott, > > > > We run into a problem if a RAID array goes into an “error” state and is > marked “offline”. The new aac driver removes the device in this case > with device_delete_child() and all commands to that device will be > answered using biodone() with flag BIO_ERROR and error EINVAL. But this > causes a “softdep_move_dependencies: need merge code” panic in the > filesystem. Is there any possibility to avoid this panic? We see it > under FreeBSD 7.1 too. > > Any help is greatly appreciated. > > > > Thanks & Regards, > > Achim > > > > =========================== > > Achim Leubner > > Software Engineer / RAID drivers > > ICP vortex GmbH / Adaptec Inc. > > Phone: +49-351-8718291 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A01C10F.4060805>