All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/10] target: add configfs interface
@ 2020-06-27  4:34 ` Mike Christie
  0 siblings, 0 replies; 38+ messages in thread
From: Mike Christie @ 2020-06-27  4:34 UTC (permalink / raw)
  To: hare, bvanassche, bstroesser, martin.petersen, linux-scsi, target-devel

The following patches made over linus's current tree (also apply
over Martin's 5.9 scsi queue branch) add a configfs interface to
export LIO's sessions.

With Hannes not liking the refcounting/tricks in the sysfs approach
I took another stab at configfs. This approach works similar to the
loop/vhost/usb/xen nexus interface where there is a special file
that allows userspace to add/remove sessions.

Because the kernel is making sessions for most drivers, we do not
have mkdir/rmdir support for the session dir, but using the special
file approach we can still remove children session in the correct
order and avoid the issues I hit before. The interface is a little
odd configfs wise because we use the special file, but it has the
benefit everything is in the one interface so it's easy to update
the tools.

If this approach is preferred over the sysfs one then I can repost
with some other fixes, the transport id patches and the iscsi
conversion one.

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2020-07-06 12:33 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-27  4:34 [RFC PATCH 00/10] target: add configfs interface Mike Christie
2020-06-27  4:34 ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 01/10] target: add common session id Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 02/10] iscsi target: replace module sids with lio's sid Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 03/10] target: drop sess_get_index Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 04/10] target: fix xcopy sess release leak Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 05/10] target: add free_session callout and use cfgfs refcounts Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 06/10] tcm_loop: fix nexus races Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 07/10] target: add return value to close_session Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 08/10] ibm,loop,vhost,xenscsi: add close_session callouts Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 09/10] target: add helper to close session synchronously Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-06-27  4:45   ` Mike Christie
2020-06-27  4:45     ` Mike Christie
2020-06-27  4:35 ` [RFC PATCH 10/10] target: export sessions via configfs Mike Christie
2020-06-27  4:35   ` Mike Christie
2020-07-03 12:51   ` Bodo Stroesser
2020-07-03 12:51     ` Bodo Stroesser
2020-07-03 16:27     ` Mike Christie
2020-07-03 16:27       ` Mike Christie
2020-07-03 16:57       ` Bodo Stroesser
2020-07-03 16:57         ` Bodo Stroesser
2020-07-03 21:19         ` Michael Christie
2020-07-03 21:19           ` Michael Christie
2020-07-06 12:32           ` Bodo Stroesser
2020-07-06 12:32             ` Bodo Stroesser
2020-07-03 17:37 ` [RFC PATCH 00/10] target: add configfs interface Bart Van Assche
2020-07-03 17:37   ` Bart Van Assche
2020-07-03 22:12   ` Michael Christie
2020-07-03 22:12     ` Michael Christie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.