RE: [patch] properly stop devices before poweroff

Luck, Tony
2005-07-27T21:14:03Z

>> The remaining problem is cause by the order of the calls in sys_reboot:
>>
>> device_suspend(PMSG_SUSPEND);
>> device_shutdown();
>>
>> The call to device_suspend() shuts down the mpt/fusion
>driver. But then
>> device_shutdown() calls sd_shutdown() which prints:
>>
>> Synchronizing SCSI cache for disk sdb
>
>Okay, looks to me like sd_shutdown should be done from
>device_suspend(), not device_shutdown [because it needs scsi subsystem
>to be functional]. Also for reboot we probably want PMSG_FREEZE (not
>PMSG_SUSPEND), to keep it slightly faster.

Are you going to work on making those changes?

-Tony