[Stgt-devel] [PATCH service_actions 1/1] RESEND Add infrastructure to handle cdb lengths and service_actions
Sun May 11 09:00:29 CEST 2008
Resend the patch.
MMC and OSD does not implement MaintenanceIn so dont define them for
those two emulation targets.
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