* [RFC PATCH 00/15] target: export session info
@ 2018-07-15 23:16 Mike Christie
0 siblings, 0 replies; only message in thread
From: Mike Christie @ 2018-07-15 23:16 UTC (permalink / raw)
To: target-devel
Currently, session info is in 3 places:
1. iscsi has the info file under initiator acls.
2. In the tpg dir iscsi and qla have the dynamic sessions.
3. Some lun stat files return some initiator info.
The problem with these is for:
1 and 3 - They only display 1 session's info per target port.
In multipath and HA setups you will have multiple initiator ports
connected to each target port, so for iscsi the isid will be different
for each session.
2 - We only get the initiator name. For iscsi we want the isid. Also
if we have a lot of sessions we are limited by the PAGE_SIZE file limit.
To handle all these issues these patches add session info under
/sys/kernel/config/target/iscsi/$target_name/tpgt_$N/sessions
This only a RFC right now. There is still a bug in the iscsi code
where if configfs registration fails we have to cleanup the
session.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-15 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-15 23:16 [RFC PATCH 00/15] target: export session info Mike Christie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).