Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269012AbUJEO4P (ORCPT ); Tue, 5 Oct 2004 10:56:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269050AbUJEO4P (ORCPT ); Tue, 5 Oct 2004 10:56:15 -0400 Received: from stat16.steeleye.com ([209.192.50.48]:41104 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S269012AbUJEO4L (ORCPT ); Tue, 5 Oct 2004 10:56:11 -0400 Subject: Re: Core scsi layer crashes in 2.6.8.1 From: James Bottomley To: Mark Lord Cc: Anton Blanchard , Alan Cox , Linux Kernel Mailing List , SCSI Mailing List In-Reply-To: <4162B345.9000806@rtr.ca> References: <1096401785.13936.5.camel@localhost.localdomain> <1096467125.2028.11.camel@m ulgrave> <20041005114951.GD22396@krispykreme.ozlabs.ibm.com> <1096984590.1765.2.camel@mulgrave> <4162B345.9000806@rtr.ca> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-9) Date: 05 Oct 2004 09:56:00 -0500 Message-Id: <1096988167.2064.7.camel@mulgrave> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 21 On Tue, 2004-10-05 at 09:44, Mark Lord wrote: > There seem to be other holes/races in this and related code. > > The QStor driver implements hot insertion/removal of drives. > > One thing it has to cope with at present is, after notifying > the mid-layer that a drive has been removed, the mid-layer calls > back with a synchronize-cache command for that drive.. This is expected behaviour. For orderly removal an cache sync command must be sent to drives with a writeback cache before they're powered down. For forced ejection, the driver has to error the command. James - 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/