target: Handle ATA_16 passthrough for pSCSI backend devices
authormengcong <mc@linux.vnet.ibm.com>
Thu, 17 May 2012 03:14:46 +0000 (11:14 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 17 May 2012 07:45:58 +0000 (00:45 -0700)
commit8da10935bc8358f03c9d90ed2e4a3bbaa19940ab
tree700e56db8e6515a0616460020686ed56f5f4bd48
parent5b9a4d7280e160982a8ea37bc03619f53b5c98b7
target: Handle ATA_16 passthrough for pSCSI backend devices

The cdrecord uses ATA_PASS_THROUGH_16 command while burning CDs
with a SATA CD-ROM. This patch adds support to it so that PSCSI
CD-ROM passthrough works with the cdrecord.

(nab: Add !passthrough check to prevent non pSCSI backends from ATA_16)

Signed-off-by: Cong Meng <mc@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
This page took 0.0350819999999999 seconds and 5 git commands to generate.