]> git.baikalelectronics.ru Git - kernel.git/commit
iscsi-target: Expose per endpoint dynamic_sessions attribute
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 7 Mar 2015 04:40:57 +0000 (20:40 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 7 Mar 2015 05:25:13 +0000 (21:25 -0800)
commit43b871ec7554e4ca2d647ba2371bcb61ab3b8178
tree2fba4824b11fb17b09b523ed7c06b9827dfe6d55
parent79fab143b1406122d3eefe1214f8257bd463fbac
iscsi-target: Expose per endpoint dynamic_sessions attribute

This patch exposes a new ../iscsi/$IQN/$TPGT/dynamic_sessions attribute
to dump the currently active sessions by iSCSI InitiatorName 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/target/iscsi/iscsi_target_configfs.c