1. 31 5月, 2015 2 次提交
  2. 08 4月, 2015 1 次提交
    • N
      loopback: Add fabric_prot_type attribute support · 436f4a0a
      Nicholas Bellinger 提交于
      This patch updates loopback to add a new fabric_prot_type TPG attribute,
      used for controlling LLD level protection into LIO when the backend
      device does not support T10-PI.
      
      Also, go ahead and set DIN_PASS + DOUT_PASS so target-core knows that
      it will be doing any WRITE_STRIP and READ_INSERT operations.
      
      Cc: Martin Petersen <martin.petersen@oracle.com>
      Cc: Sagi Grimberg <sagig@mellanox.com>
      Cc: Hannes Reinecke <hare@suse.de>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      436f4a0a
  3. 02 12月, 2014 1 次提交
  4. 17 10月, 2013 2 次提交
  5. 07 11月, 2012 1 次提交
  6. 11 3月, 2012 1 次提交
  7. 26 2月, 2012 1 次提交
  8. 14 12月, 2011 1 次提交
  9. 22 7月, 2011 1 次提交
    • A
      target: Follow up core updates from AGrover and HCH (round 4) · 6708bb27
      Andy Grover 提交于
      This patch contains the squashed version of forth round series cleanups
      from Andy and Christoph following the post heavy lifting in the preceeding:
      'Eliminate usage of struct se_mem' and 'Make all control CDBs scatter-gather'
      changes.  This also includes a conversion of target core and the v3.0
      mainline fabric modules (loopback and tcm_fc) to use pr_debug and the
      CONFIG_DYNAMIC_DEBUG infrastructure!
      
      These have been squashed into this third and final round for v3.1.
      
      target: Remove ifdeffed code in t_g_process_write
      target: Remove direct ramdisk code
      target: Rename task_sg_num to task_sg_nents
      target: Remove custom debug macros for pr_debug. Use pr_err().
      target: Remove custom debug macros in mainline fabrics
      target: Set WSNZ=1 in block limits VPD. Abort if WRITE_SAME sectors = 0
      target: Remove transport do_se_mem_map callback
      target: Further simplify transport_free_pages
      target: Redo task allocation return value handling
      target: Remove extra parentheses
      target: change alloc_task call to take *cdb, not *cmd
      
      (nab: Fix bogus struct file assignments in fd_do_readv and fd_do_writev)
      Signed-off-by: NAndy Grover <agrover@redhat.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      6708bb27
  10. 24 3月, 2011 1 次提交
    • N
      [SCSI] tcm_loop: Add multi-fabric Linux/SCSI LLD fabric module · 3703b2c5
      Nicholas Bellinger 提交于
      This patch adds the TCM_Loop Linux/SCSI LLD fabric module for
      accessing TCM device backstores as locally accessable SCSI LUNs in
      virtual SAS, FC, and iSCSI Target ports using the generic fabric
      TransportID and Target Port WWN naming handlers from TCM's
      target_core_fabric_lib.c The TCM_Loop module uses the generic fabric
      configfs infratructure provided by target_core_fabric_configfs.c and
      adds a module dependent attribute for the creation/release of the
      virtual I_T Nexus connected the TCM_Loop Target and Initiator Ports.
      
      TCM_Loop can also be used with scsi-generic and BSG drivers so that
      STGT userspace fabric modules, QEMU-KVM and other hypervisor SCSI
      passthrough support can access TCM device backstore and control CDB
      emulation.
      
      For more information please see:
      
      http://linux-iscsi.org/wiki/Tcm_loop
      
      [jejb: fixed up checkpatch stuff]
      Signed-off-by: NNicholas A. Bellinger <nab@linux-iscsi.org>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      3703b2c5