tcm_qla2xxx: Expose per endpoint dynamic_sessions attribute
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 7 Mar 2015 04:43:34 +0000 (20:43 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 7 Mar 2015 05:25:15 +0000 (21:25 -0800)
commitd23dbaaaa454667ad6af6feb56f740a990d1295d
treee7dc688d10b5e9646d6a8066bd05ad4a5a3d6451
parentd4ee46ff8c8404d63779772e4ddb3553eaca26ae
tcm_qla2xxx: Expose per endpoint dynamic_sessions attribute

This patch exposes a new ../qla2xxx*/$WWPN/$TPGT/dynamic_sessions
attribute to dump the currently active sessions by FC initiator WWPN
that have been created with dynamically generated se_node_acls.

This information is useful so that user-space can optionally perform
dynamic -> explicit NodeACL conversion based on $INITIATOR_WWPN.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c