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
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.

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?

Or.

here are the relevant points in time from the attachment

154:iscsid: in ktransport_ep_connect
166:iscsid: in ktransport_ep_poll
171:iscsid: in kcreate_session
229:iscsid: in kcreate_conn
235:iscsid: in kbind_conn
270:iscsid: in ksend_pdu_begin
276:iscsid: in ksend_pdu_end
295:iscsid: in krecv_pdu_begin
321:iscsid: in krecv_pdu_end
327:iscsid: in kset_param
334:iscsid: in kset_param
341:iscsid: in kset_param
348:iscsid: in kset_param
355:iscsid: in kset_param
362:iscsid: in kset_param
369:iscsid: in kset_param
376:iscsid: in kset_param
383:iscsid: in kset_param
390:iscsid: in kset_param
397:iscsid: in kset_param
404:iscsid: in kset_param
411:iscsid: in kset_param
418:iscsid: in kset_param
425:iscsid: in kset_param
432:iscsid: in kset_param
439:iscsid: in kset_param
442:iscsid: in kset_param
445:iscsid: in kset_param
448:iscsid: in kset_param
451:iscsid: in kset_param
458:iscsid: in kset_param
465:iscsid: in kset_param
472:iscsid: in kset_param
479:iscsid: in kset_param
486:iscsid: in kset_param
493:iscsid: in kset_param
500:iscsid: in kset_param
507:iscsid: in kset_host_param
510:iscsid: in kset_host_param
513:iscsid: in kstart_conn

--
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.

Attachment: iscsid.log.bz2
Description: application/bzip

Reply via email to