[PATCH 0/3] target: Allow demo-mode sessions with INQUIRY 'not connected' status

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

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi Roland and Andrew,

Here is the series for target_core v4.1 (lio-core-2.6.git/master) to allow
demo-mode I_T FC nexuses (struct se_session) to login without the active
fabric Port/LUNs appearing as the default layout with generate_node_acl=1
WWPN endpoint access.

This also changes standard INQUIRY response to set 0x3f (not connected) status
as recommended by Roland for those fabrics like tcm_qla2xxx that expect to have
initiators be at least able login and recognize 'not connected' status with the
default virtual LUN=0 device.  This is expected by modern qla2xxx initiators,
and will currently cause ABORT -> DEVICE_RESET when we explictly disable
demo-mode access for the WWPN and only allow explict NodeACLs+MappedLUNs to
establish a FC Nexus.

The main question here is if running 'not connected' as the default for virtual LUN=0
access is OK for all cases here.  Any comments folks..?

With the series, the following lio-core-2.6.git/master commit is also being reverted

   commit a138af3ef3b199226ad2cc3ffb24c494302d0f4c
   Author: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
   Date:   Mon Jul 25 22:11:43 2011 +0000

    tcm_qla2xxx: Remove Demo-mode by default settings

Thanks,

Nicholas Bellinger (3):
  target: Change TCM_NON_EXISTENT_LUN response to ASC=LOGICAL UNIT NOT
    SUPPORTED
  target: Make standard INQUIRY return 'not connected' for
    tpg_virt_lun0
  tcm_qla2xxx: Add tfo->tpg_check_demo_mode_login_only usage

 drivers/target/target_core_cdb.c                  |   11 ++++++++---
 drivers/target/target_core_tpg.c                  |   12 ++++++++++--
 drivers/target/target_core_transport.c            |    7 +++++++
 drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c |    2 ++
 include/target/target_core_fabric_ops.h           |    6 ++++++
 5 files changed, 33 insertions(+), 5 deletions(-)

-- 
1.7.2.5

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux