Re: Swsusp updates, do not thrash ide disk on suspend

From: Andre Hedrick (andre@linux-ide.org)
Date: Tue Oct 01 2002 - 20:35:19 EST


On Wed, 2 Oct 2002, Pavel Machek wrote:

> Hi!
>
> > > This cleans up swsusp a little bit and fixes ide disk corruption on
> > > suspend/resume. Please apply,
> >
> > It also seems to be doing things with the device manager. Mind explaining
> > those changes too?
>
> Those are forward port of what we had there already. I make IDE child
> of PCI device with the controller (in cases its on PCI). That seems
> logical place for it and we had it like that in 2.5.30 or
> so. ide-disk.c is there to make disk sleep before we go
> suspend. Without that, data corruption happens.

Pavel,

I pointed out to you various other device other than disk support DMA, and
moving the suspend point up to the mainloop away from the subdrivers.
This would insure the entire sub-system is out. Why are we block after
the request has been sent to the sub-driver? Why do you see this the
preferred location and not before it enters the system? Given that you
have stated it does not parse the difference between S3 v/s S4, I am
graveful concerned. However, if this is how you and Linus have decide to
impliment this project, I shall attempt to sustain interoperablity.

Sigh ...

Andre Hedrick
LAD Storage Consulting Group

-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:31 EST