diff options
author | James Bottomley <JBottomley@Parallels.com> | 2013-05-08 00:38:18 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-04 20:15:59 +0200 |
commit | e73823f7a2c921dcf068d34ea03bd682498d9e42 (patch) | |
tree | 8b5b2262352572b3069a671f7578ea6d5ef07162 /include/scsi/libsas.h | |
parent | [SCSI] zfcp: status read buffers on first adapter open with link down (diff) | |
download | linux-e73823f7a2c921dcf068d34ea03bd682498d9e42.tar.xz linux-e73823f7a2c921dcf068d34ea03bd682498d9e42.zip |
[SCSI] libsas: implement > 16 byte CDB support
Remove the arbitrary expectation in libsas that all SCSI commands are 16 bytes
or less. Instead do all copies via cmd->cmd_len (and use a pointer to this in
the libsas task instead of a copy). Note that this still doesn't enable > 16
byte CDB support in the underlying drivers because their internal format has
to be fixed and the wire format of > 16 byte CDBs according to the SAS spec is
different. the libsas drivers (isci, aic94xx, mvsas and pm8xxx are all
updated for this change.
Cc: Lukasz Dorau <lukasz.dorau@intel.com>
Cc: Maciej Patelczyk <maciej.patelczyk@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Jack Wang <xjtuwjp@gmail.com>
Cc: Lindar Liu <lindar_liu@usish.com>
Cc: Xiangliang Yu <yuxiangl@marvell.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r-- | include/scsi/libsas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index e2c1e66d58ae..f843dd8722a9 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -608,7 +608,7 @@ struct sas_ssp_task { u8 enable_first_burst:1; enum task_attribute task_attr; u8 task_prio; - u8 cdb[16]; + struct scsi_cmnd *cmd; }; struct sas_task { |