On 05/04/2011 05:08 AM, Or Gerlitz wrote:
Or Gerlitz wrote:
Mike Christie wrote:
Hey Or, was the problem that you wanted the session->*cmds*max info
at ep_connect time or create_conn time?

let me look on that, I hope to be able to get away with deferring these
resource allocations to a point where I have the session at hand, e.g
post bind. Looking on the good old ladder diagram chart @
http://www.open-iscsi.org/docs/open-iscsi-1.jpg
I see that the session is created only after we connect, so I can't
actually get a session object beforehand, isn't it?

Mike,

I didn't see a response... so opening it again, running on RHEL 6 with

Ah sorry. I read it wrong.

iscsi-initiator-utils-6.2.0.872-10.el6 I see that my assumption was
correct, that is session creation is done --before-- ep connect, so
there's no session object on that time which can be given to the
transport. I also assume this doesn't change in the latest user space code.


Yeah, it is the same.

Under that constraint what you think could be the less tedious way to
provide the kernel transport with the session.cmds_max set by the user?


Modify the ep_connect event to pass it down.

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to