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

Douglas Gilbert
2004-08-19T22:19:31Z

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.

James,
[Wearing my smartmontools maintainer hat] such a change is going
to cause a lot of noise in the log from the smartd daemon.
The code to use SG_IO ioctl in smartmontools is in CVS but
won't be released for a month or so.

If they are not going to be dropped in the lk 2.6 series
why not wait until the lk 2.7 development starts (or late
lk 2.6 series)?

Doug Gilbert