summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_configfs.c
diff options
context:
space:
mode:
authorNicholas Bellinger2015-03-07 05:34:32 +0100
committerNicholas Bellinger2015-03-07 06:24:53 +0100
commitf8e471f9eb9068bf5ac8c6a04da74329a442f75a (patch)
tree043f0d1b6029db33812fccfad085676806a96872 /drivers/target/iscsi/iscsi_target_configfs.c
parenttarget: rewrite fd_execute_write_same (diff)
downloadkernel-qcow2-linux-f8e471f9eb9068bf5ac8c6a04da74329a442f75a.tar.gz
kernel-qcow2-linux-f8e471f9eb9068bf5ac8c6a04da74329a442f75a.tar.xz
kernel-qcow2-linux-f8e471f9eb9068bf5ac8c6a04da74329a442f75a.zip
target: Add target_show_dynamic_sessions attribute helper
This patch adds a new helper function that can be used by fabric driver TPG attributes for dumping the list of active sessions with a dynamically generated se_node_acl. (generate_node_acl=1). It prints one se_node_acl->initiatorname per line, up to PAGE_SIZE which is due to the current limitiation of single page attribute output within sysfs and configfs code. Note that if a session is referencing a explicit NodeACL, the InitiatorName will not appear within dynamic_sessions output. Reported-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_configfs.c')
0 files changed, 0 insertions, 0 deletions