diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-20 16:42:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-20 16:42:57 -0500 |
commit | cdce6ac277a4a1aa5316cd0cdf30fff927433917 (patch) | |
tree | a345a1a6639a368433fa915be96554d7a0f456ea /drivers/infiniband/ulp | |
parent | 5d6a54688632f640abda71164fea5d171ff07db8 (diff) | |
parent | e61745769125a3c788e7aceb2a5fb680ebb461e6 (diff) |
Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI update from James Bottomley:
"This is a much shorter set of patches that were on the go but didn't
make it in to the early pull request for the merge window. It's
really a set of bug fixes plus some final cleanup work on the new tag
queue API"
* tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
storvsc: ring buffer failures may result in I/O freeze
ipr: set scsi_level correctly for disk arrays
ipr: add support for async scanning to speed up boot
scsi_debug: fix missing "break;" in SDEBUG_UA_CAPACITY_CHANGED case
scsi_debug: take sdebug_host_list_lock when changing capacity
scsi_debug: improve driver description in Kconfig
scsi_debug: fix compare and write errors
qla2xxx: fix race in handling rport deletion during recovery causes panic
scsi: blacklist RSOC for Microsoft iSCSI target devices
scsi: fix random memory corruption with scsi-mq + T10 PI
Revert "[SCSI] mpt3sas: Remove phys on topology change"
Revert "[SCSI] mpt2sas: Remove phys on topology change."
esas2r: Correct typos of "validate" in a comment
fc: FCP_PTA_SIMPLE is 0
ibmvfc: remove unused tag variable
scsi: remove MSG_*_TAG defines
scsi: remove scsi_set_tag_type
scsi: remove scsi_get_tag_type
scsi: never drop to untagged mode during queue ramp down
scsi: remove ->change_queue_type method
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 1 | ||||
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.c | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index db3c8c851af1..0747c0595a9d 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c | |||
@@ -2740,7 +2740,6 @@ static struct scsi_host_template srp_template = { | |||
2740 | .info = srp_target_info, | 2740 | .info = srp_target_info, |
2741 | .queuecommand = srp_queuecommand, | 2741 | .queuecommand = srp_queuecommand, |
2742 | .change_queue_depth = srp_change_queue_depth, | 2742 | .change_queue_depth = srp_change_queue_depth, |
2743 | .change_queue_type = scsi_change_queue_type, | ||
2744 | .eh_abort_handler = srp_abort, | 2743 | .eh_abort_handler = srp_abort, |
2745 | .eh_device_reset_handler = srp_reset_device, | 2744 | .eh_device_reset_handler = srp_reset_device, |
2746 | .eh_host_reset_handler = srp_reset_host, | 2745 | .eh_host_reset_handler = srp_reset_host, |
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index dc829682701a..eb694ddad79f 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c | |||
@@ -1708,17 +1708,17 @@ static int srpt_handle_cmd(struct srpt_rdma_ch *ch, | |||
1708 | 1708 | ||
1709 | switch (srp_cmd->task_attr) { | 1709 | switch (srp_cmd->task_attr) { |
1710 | case SRP_CMD_SIMPLE_Q: | 1710 | case SRP_CMD_SIMPLE_Q: |
1711 | cmd->sam_task_attr = MSG_SIMPLE_TAG; | 1711 | cmd->sam_task_attr = TCM_SIMPLE_TAG; |
1712 | break; | 1712 | break; |
1713 | case SRP_CMD_ORDERED_Q: | 1713 | case SRP_CMD_ORDERED_Q: |
1714 | default: | 1714 | default: |
1715 | cmd->sam_task_attr = MSG_ORDERED_TAG; | 1715 | cmd->sam_task_attr = TCM_ORDERED_TAG; |
1716 | break; | 1716 | break; |
1717 | case SRP_CMD_HEAD_OF_Q: | 1717 | case SRP_CMD_HEAD_OF_Q: |
1718 | cmd->sam_task_attr = MSG_HEAD_TAG; | 1718 | cmd->sam_task_attr = TCM_HEAD_TAG; |
1719 | break; | 1719 | break; |
1720 | case SRP_CMD_ACA: | 1720 | case SRP_CMD_ACA: |
1721 | cmd->sam_task_attr = MSG_ACA_TAG; | 1721 | cmd->sam_task_attr = TCM_ACA_TAG; |
1722 | break; | 1722 | break; |
1723 | } | 1723 | } |
1724 | 1724 | ||
@@ -1733,7 +1733,7 @@ static int srpt_handle_cmd(struct srpt_rdma_ch *ch, | |||
1733 | sizeof(srp_cmd->lun)); | 1733 | sizeof(srp_cmd->lun)); |
1734 | rc = target_submit_cmd(cmd, ch->sess, srp_cmd->cdb, | 1734 | rc = target_submit_cmd(cmd, ch->sess, srp_cmd->cdb, |
1735 | &send_ioctx->sense_data[0], unpacked_lun, data_len, | 1735 | &send_ioctx->sense_data[0], unpacked_lun, data_len, |
1736 | MSG_SIMPLE_TAG, dir, TARGET_SCF_ACK_KREF); | 1736 | TCM_SIMPLE_TAG, dir, TARGET_SCF_ACK_KREF); |
1737 | if (rc != 0) { | 1737 | if (rc != 0) { |
1738 | ret = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE; | 1738 | ret = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE; |
1739 | goto send_sense; | 1739 | goto send_sense; |