[Stgt-devel] [PATCH service_actions 1/1] Add infrastructure to handle cdb lengths and service_actions
Sat May 10 09:50:01 CEST 2008
This patch is also attached in gzip format, if gmail once again
decides to mangle it.
It adds infrastructure to handle commands that take service actions.
It also adds the cdb length to all commands we have implemented and
list in the .ops structure.
(at least when I try the ioctl() to do scsi passthrough, the devices
I have gets really "unhappy" if i dont provide the correct/expected
cdb length so this sould also benefit when passthrough is added)
As an example of a "service action" command being implemented
I implemented 0xa3/0x0c which is ReportSupportedOperationCodes
other MaintenanceIn commands should be easy to add.
More information about the stgt