On Tue, Apr 11, 2023 at 08:58:54AM +0200, Hannes Reinecke wrote:
> On 4/11/23 02:21, Chris Leech wrote:
> > diff --git a/include/scsi/scsi_transport_iscsi.h 
> > b/include/scsi/scsi_transport_iscsi.h
> > index 0c3fd690ecf8..4d8a3d770bed 100644
> > --- a/include/scsi/scsi_transport_iscsi.h
> > +++ b/include/scsi/scsi_transport_iscsi.h
> > @@ -79,6 +79,9 @@ struct iscsi_transport {
> >     struct iscsi_cls_session *(*create_session) (struct iscsi_endpoint *ep,
> >                                     uint16_t cmds_max, uint16_t qdepth,
> >                                     uint32_t sn);
> > +   struct iscsi_cls_session *(*create_unbound_session) (struct net *net,
> > +                                   uint16_t cmds_max, uint16_t qdepth,
> > +                                   uint32_t sn);
> >     void (*destroy_session) (struct iscsi_cls_session *session);
> >     struct iscsi_cls_conn *(*create_conn) (struct iscsi_cls_session *sess,
> >                             uint32_t cid);
> 
> I'm not _that_ happy with these two functions; but can't really see a way
> around it.
> Can't we rename the 'unbound' version to
> 'create_session_ns' or something?

Yes, in my mind I was matching the netlink commands, but those are
create_session and create_bound_session. I got it exactly backwards
with which one had the additional text.

I'm OK with changing to a shorter name, like the one you suggested.

Thanks,
- Chris

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/open-iscsi/20230411180337.GA1234639%40localhost.

Reply via email to