On 01/07/2013 05:19 PM, Oliver Neukum wrote:
On Sunday 06 January 2013 16:41:37 Aaron Lu wrote:
quoted
From: Lin Ming <redacted>
Uses block layer runtime pm helper functions in
scsi_runtime_suspend/resume.
Remove scsi_autopm_* from sd open/release path and check_events path.
And remove the quiesce call in runtime suspend path, as we know there is
no request to quiesce for the device.
How does this handle ioctl() ?
The ioctl code will allocate a new request and execute it through block
layer API, which involves adding the request to the queue and releasing
it when it is finished.
Thanks,
Aaron