Re: swsusp: don't eat ide disks

Alan Cox (alan@redhat.com)
Sat, 2 Nov 2002 15:06:33 -0500 (EST)


> Here's patch to prevent random scribling over disks during
> suspend... In the meantime alan killed (unreferenced at that time)
> idedisk_suspend() and idedisk_release(), so I have to reintroduce
> them.

Please fix this at a different level. idedisk is not the place to be
doing this. If the device layer is doing the right thing then the
request queue will be idle.

> + .gen_driver = {
> + .suspend = idedisk_suspend,
> + .resume = idedisk_resume,
> + }

Some disks are going to be settint their own power methods too.

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