Date: Wed, 13 May 2009 06:53:04 -0700 From: "Leubner, Achim" <Achim_Leubner@adaptec.com> To: Scott Long <scottl@samsco.org> 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: <532ABFBDAAC3A34EB12EBA6CEC2838F4020B72409D@ADPE2K703.adaptec.com> In-Reply-To: <4A01C10F.4060805@samsco.org> References: <532ABFBDAAC3A34EB12EBA6CEC2838F4020B67FCE8@ADPE2K703.adaptec.com> <4A01C10F.4060805@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the information. But could you please explain this workaround in= detail? If I understand you correctly I should not remove the device with = device_delete_child(). But how should I indicate that it has failed? And ho= w can I complete the i/o with good status although the i/o did not work? Thanks, Achim -----Original Message----- From: Scott Long [mailto:scottl@samsco.org]=20 Sent: Wednesday, May 06, 2009 6:56 PM To: Leubner, Achim Cc: Ed Maste; current@freebsd.org; Sridaran, Gana Subject: Re: softdep_move_dependencies panic No, there is no fix for this. FreeBSD doesn't handle this case very=20 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, >=20 > =20 >=20 > We run into a problem if a RAID array goes into an "error" state and is=20 > marked "offline". The new aac driver removes the device in this case=20 > with device_delete_child() and all commands to that device will be=20 > answered using biodone() with flag BIO_ERROR and error EINVAL. But this=20 > causes a "softdep_move_dependencies: need merge code" panic in the=20 > filesystem. Is there any possibility to avoid this panic? We see it=20 > under FreeBSD 7.1 too. >=20 > Any help is greatly appreciated. >=20 > =20 >=20 > Thanks & Regards, >=20 > Achim >=20 > =20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >=20 > Achim Leubner >=20 > Software Engineer / RAID drivers >=20 > ICP vortex GmbH / Adaptec Inc. >=20 > Phone: +49-351-8718291 >=20 > =20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532ABFBDAAC3A34EB12EBA6CEC2838F4020B72409D>