1. 22 7月, 2011 2 次提交
    • A
      target: Core cleanups from AGrover (round 1) · e3d6f909
      Andy Grover 提交于
      This patch contains the squashed version of a number of cleanups and
      minor fixes from Andy's initial series (round 1) for target core this
      past spring.  The condensed log looks like:
      
      target: use errno values instead of returning -1 for everything
      target: Rename transport_calc_sg_num to transport_init_task_sg
      target: Fix leak in error path in transport_init_task_sg
      target/pscsi: Remove pscsi_get_sh() usage
      target: Make two runtime checks into WARN_ONs
      target: Remove hba queue depth and convert to spin_lock_irq usage
      target: dev->dev_status_queue_obj is unused
      target: Make struct se_queue_req.cmd type struct se_cmd *
      target: Remove __transport_get_qr_from_queue()
      target: Rename se_dev->g_se_dev_list to se_dev_node
      target: Remove struct se_global
      target: Simplify scsi mib index table code
      target: Make dev_queue_obj a member of se_device instead of a pointer
      target: remove extraneous returns at end of void functions
      target: Ensure transport_dump_vpd_ident_type returns null-terminated str
      target: Function pointers don't need to use '&' to be assigned
      target: Fix comment in __transport_execute_tasks()
      target: Misc style cleanups
      target: rename struct pr_reservation_template to pr_reservation
      target: Remove #defines that just perform indirection
      target: Inline transport_get_task_from_execute_queue()
      target: Minor header comment fixes
      Signed-off-by: NAndy Grover <agrover@redhat.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      e3d6f909
    • N
      target: Remove unnecessary *cdb transport_get_lun_for_cmd parameter · efa4988d
      Nicholas Bellinger 提交于
      This patch removes the now unnecessary 'unsigned char *cdb' function
      parameter from transport_get_lun_for_cmd().  This also includes updating
      lio-target, tcm_loop and tcm_fc usage of transport_get_lun_for_cmd().
      Reported-by: NFubo Chen <fubo.chen@gmail.com>
      Signed-off-by: NNicholas A. Bellinger <nab@linux-iscsi.org>
      efa4988d
  2. 24 6月, 2011 2 次提交
  3. 27 5月, 2011 2 次提交
  4. 25 5月, 2011 2 次提交
  5. 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