[PATCH 0/2] qla_target: Fix FCP READ CHECK_CONDITION + sense handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi Roland & Co,

This series for v4.1 contains two patches to qla_target + tcm_qla2xxx_fabric
that address the recent FCP READ CHECK_CONDITION + sense buffer handling issues
with qla2xxx FC clients by explictly disabling EXPLICIT_CONFORM and CONFORM_REQ
bits for failed MODE_SENSE cases from the outgoing ctio1->flags within
qla24xx_init_ctio_ret_entry() code.  It also fixes a seperate OOPs in SRR handling
with FCP READ/WRITE and CHECK_CONDITION status by sending an explict SRR REJECT
packet for this case.

So far this has been tested with MODE_SENSE (sg_mode) and MODE_SELECT
(sdparam --set) exceptions generating CHECK_CONDITION + sense handling with
.38 mainline qla2xxx FC client code in PTP mode, along with Qlogic 5600
4 Gb/sec and Brocade 5100 8 Gb/sec switches.

Note the same two patches has been pushed into lio-4.1-2.6.39 with a minor
qla_dbg.h build breakage fix.  Please have a look at your earliest convenience.

Thanks!

--nab

Nicholas Bellinger (2):
  qla_target: Return SRR REJECT for DATA_IN/DATA_OUT with non GOOD
    status
  qla2xxx: Disable EXPLICIT_CONFORM for FCP READ CHECK_CONDITION

 drivers/scsi/qla2xxx/qla_target.c               |   34 +++++++++++++++++++++++
 drivers/target/tcm_qla2xxx/tcm_qla2xxx_fabric.c |   10 ++++++-
 2 files changed, 43 insertions(+), 1 deletions(-)

-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux