Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261484AbVEITRx (ORCPT ); Mon, 9 May 2005 15:17:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261479AbVEITRw (ORCPT ); Mon, 9 May 2005 15:17:52 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:1409 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S261478AbVEITRh (ORCPT ); Mon, 9 May 2005 15:17:37 -0400 Date: Mon, 9 May 2005 21:17:22 +0200 From: Pavel Machek To: James Bottomley Cc: Jens Axboe , Jon Escombe , Linux Kernel , Jeff Garzik Subject: Re: Suspend/Resume Message-ID: <20050509191722.GB3085@elf.ucw.cz> References: <4267B5B0.8050608@davyandbeth.com> <20050502144703.GA1882@suse.de> <20050503141017.GD6115@suse.de> <1115524401.5942.13.camel@mulgrave> <20050509101344.GA24478@atrey.karlin.mff.cuni.cz> <1115647641.5051.1.camel@mulgrave> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1115647641.5051.1.camel@mulgrave> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 25 On Po 09-05-05 09:07:21, James Bottomley wrote: > On Mon, 2005-05-09 at 12:13 +0200, Pavel Machek wrote: > > In IDE we do that to reliably flush drive caches... If write caching > > actually works on SCSI, we should not need that hacks. > > Define "works". Actual write caching works fine with IDE (it doesn't > lose the data). On the other hand, turning the cache off or flushing it > can be problematic because not all IDE devices respond to these > commands. > > So, what I think you're saying is that you don't want the internal > drives to spin down, but you do want to send a synchronize cache command > to those which have a writeback cache enabled? Yes, something like that. I don't care if drivers are spinning or not, but I need caches to be properly flushed and drive ready for system powerdown. 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/