Re: [RFC] Implementation of SCSI dynamic power management

Alan Stern
2008-01-08T15:16:44Z

On Tue, 8 Jan 2008, Oliver Neukum wrote:

> Am Montag, 7. Januar 2008 20:42:23 schrieb Alan Stern:
> > This patch applies to 2.6.24-rc6.  Comments and suggestions are
> > welcome.
>
> What about the SG_IO ioctl() ? It seems to me that you must not autosuspend
> a device after that ioctl() has been used until the file handle is closed.

That's an open problem. The patch does block autosuspends as long as
an sg file handle is open, but that won't help with ioctl requests
through the block device.

Can you write an additional patch to fix this?

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html