diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-10-04 04:23:15 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 08:47:57 -0800 |
commit | ec0f40e8d1e3660c1595e2fc5cb295cb3127ee40 (patch) | |
tree | cc73ed7f16e11f24c1a9afd90df909036b8ad5ec /arch | |
parent | b036d398754a2b7045735a8839c7314c08eaedd7 (diff) | |
download | lwn-ec0f40e8d1e3660c1595e2fc5cb295cb3127ee40.tar.gz lwn-ec0f40e8d1e3660c1595e2fc5cb295cb3127ee40.zip |
target: Fix APTPL metadata handling for dynamic MappedLUNs
commit e24805637d2d270d7975502e9024d473de86afdb upstream.
This patch fixes a bug in handling of SPC-3 PR Activate Persistence
across Target Power Loss (APTPL) logic where re-creation of state for
MappedLUNs from dynamically generated NodeACLs did not occur during
I_T Nexus establishment.
It adds the missing core_scsi3_check_aptpl_registration() call during
core_tpg_check_initiator_node_acl() -> core_tpg_add_node_to_devs() in
order to replay any pre-loaded APTPL metadata state associated with
the newly connected SCSI Initiator Port.
Cc: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions