1. 17 May, 2012 1 commit
  2. 14 May, 2012 1 commit
    • Bernhard Kohl's avatar
      target: Fix SPC-2 RELEASE bug for multi-session iSCSI client setups · edc318d9
      Bernhard Kohl authored
      This patch addresses a bug in a special case for target core SPC-2 RELEASE
      logic where the same physical client (eg: iSCSI InitiatorName) with
      differing iSCSI session identifiers (ISID) is allowed to incorrectly release
      the same client's SPC-2 reservation from the non reservation holding path.
      
      Note this bug is specific to iscsi-target w/ SPC-2 reservations, and
      with the default enforce_pr_isids=1 device attr setting in target-core
      controls if a InitiatorName + different ISID reservations are handled
      the same as a single iSCSI client entity.
      Signed-off-by: default avatarBernhard Kohl <bernhard.kohl@gmx.net>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      edc318d9
  3. 11 May, 2012 1 commit
    • Nicholas Bellinger's avatar
      target: Drop incorrect se_lun_acl release for dynamic -> explict ACL conversion · cfebf8f4
      Nicholas Bellinger authored
      This patch removes some potentially problematic legacy code within
      core_clear_initiator_node_from_tpg() that was originally intended to
      release left over se_lun_acl setup during dynamic NodeACL+MappedLUN
      generate when running with TPG demo-mode operation.
      
      Since we now only ever expect to allocate and release se_lun_acl from
      within target_core_fabric_configfs.c:target_fabric_make_mappedlun() and
      target_fabric_drop_mappedlun() context respectively, this code for
      demo-mode release is incorrect and needs to be removed.
      
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Andy Grover <agrover@redhat.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      cfebf8f4
  4. 07 Apr, 2012 2 commits
  5. 31 Mar, 2012 35 commits