Re: [PATCH] get the kernel to warn about deprecated SCSI ioctls

James Bottomley
2004-08-19T16:29:04Z

On Thu, 2004-08-19 at 12:23, Jeff Garzik wrote:
> On Thu, Aug 19, 2004 at 12:19:01PM -0400, James Bottomley wrote:
> > The non unique SCSI ioctls:
> >
> > SCSI_IOCTL_SEND_COMMAND
> > SCSI_IOCTL_TEST_UNIT_READY
> > SCSI_IOCTL_BENCHMARK_COMMAND
> > SCSI_IOCTL_SYNC
> > SCSI_IOCTL_START_UNIT
> > SCSI_IOCTL_STOP_UNIT
> >
> > Have been deprecated for a while now. We should make the kernel
> > complain when a program actually uses one of them, so users have had
> > adequate warning before they are removed.
>
> any chance of deprecating the doorlock ioctls too?

The doorlock ones are unique, and are used by some of the CD tools.

We really need to know when an app locks the door rather than having to
scan the commands in SG_IO.

James