Re: Suspend/Resume

From: Pavel Machek
Date: Mon May 09 2005 - 14:19:49 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/