Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 8 Oct 2002 08:51:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 8 Oct 2002 08:51:07 -0400 Received: from pc1-cwma1-5-cust51.swa.cable.ntl.com ([80.5.120.51]:57849 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 8 Oct 2002 08:51:06 -0400 Subject: Re: [patch] IDE driver model update From: Alan Cox To: Alexander Viro Cc: Patrick Mochel , Linus Torvalds , Andre Hedrick , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 08 Oct 2002 14:05:37 +0100 Message-Id: <1034082337.26477.96.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 18 On Tue, 2002-10-08 at 13:24, Alexander Viro wrote: > > IDE objects can also outlast the hardware - consider an active mount on > > an ejected pcmcia card. Right now we don't do the right stuff to > > reconnect that on re-insert but one day we may need to. As it is we keep > > the instance around to avoid crashes > > Ouch. That (reconnects) may require interesting things from queue-related > code. What behaviour do you want while card is disconnected? All requests > getting errors / all requests getting blocked / reads failing, writes blocking? Right now it errors further requests. USB scsi does the whole reconnect thing and seems to get it right, I need to look into this - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/