Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261209AbVEIKNu (ORCPT ); Mon, 9 May 2005 06:13:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261213AbVEIKNu (ORCPT ); Mon, 9 May 2005 06:13:50 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:11739 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S261209AbVEIKNr (ORCPT ); Mon, 9 May 2005 06:13:47 -0400 Date: Mon, 9 May 2005 12:13:44 +0200 From: Pavel Machek To: James Bottomley Cc: Jens Axboe , Jon Escombe , Linux Kernel , Jeff Garzik Subject: Re: Suspend/Resume Message-ID: <20050509101344.GA24478@atrey.karlin.mff.cuni.cz> References: <4267B5B0.8050608@davyandbeth.com> <20050502144703.GA1882@suse.de> <20050503141017.GD6115@suse.de> <1115524401.5942.13.camel@mulgrave> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1115524401.5942.13.camel@mulgrave> User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1045 Lines: 24 Hi! > > I don't know, depends on what Jeff/James think of this approach. There > > are many different way to solve this problem. I let the scsi bus called > > suspend/resume for the devices on that bus, and let the scsi host > > adapter perform any device dependent actions. The pci helpers are less > > debatable. > > > > Jeff/James? Here's a patch that applies to current git. > > The patch looks fine as far as it goes ... however, shouldn't we be > spinning *internal* suspended drives down as well like IDE does (i.e. at > least the sd ULD needs to be a party to the suspend)? Of course this is In IDE we do that to reliably flush drive caches... If write caching actually works on SCSI, we should not need that hacks. Pavel -- Boycott Kodak -- for their patent abuse against Java. - 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/