From owner-freebsd-current@FreeBSD.ORG Wed May 6 16:55:54 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57F0C106564A for ; Wed, 6 May 2009 16:55:54 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6E08FC12 for ; Wed, 6 May 2009 16:55:53 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local (pooker.samsco.org [168.103.85.57]) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id n46GthIr076814; Wed, 6 May 2009 10:55:43 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4A01C10F.4060805@samsco.org> Date: Wed, 06 May 2009 10:55:43 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: "Leubner, Achim" References: <532ABFBDAAC3A34EB12EBA6CEC2838F4020B67FCE8@ADPE2K703.adaptec.com> In-Reply-To: <532ABFBDAAC3A34EB12EBA6CEC2838F4020B67FCE8@ADPE2K703.adaptec.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Ed Maste , "current@freebsd.org" , "Sridaran, Gana" Subject: Re: softdep_move_dependencies panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 16:55:54 -0000 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 > > >