RFC: beiscsi: iscsi hook in and handling code
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Jayamohan Kalickal
Review
Quoted 3 lines
(quoted diff) +3
-0+ + cls_session = + iscsi_session_setup(&beiscsi_iscsi_transport, shost, cmds_max,Was there any limit on the number of commands per session? What about
per port/scsi_host?
The maximum number of commands is the queuedepth. Yes , we have a limit perport(scsi_host )as well. Am I required to specify them here. I haven't understood the comment.
I was actually just asking because I was curious and because I was wondering about what was going on below.
The host limit should just get set in scsi_host_template->can_queue (you did this already). Then nelow you do not want to set the shost->can_queue to cmds_max.
Did the queuedepth comment mean you have a per session limit too? If so then you at least want to do a min(cmds_max, your_max_queue_depth) to make sure the iscsi layer does not send more commands than you can handle.
Yes, there is a per session limit but it is not a hard one. It is only used to limit memory usage for the send ring and can be increased to shost->can_queue.
Currently, I have set the sendring to 256 depth.
--
----- Original Message -----
From: Mike Christie
[mailto:[email protected]]
To: Jayamohan Kalickal
[mailto:[email protected]]
Cc: [email protected]
Sent:
Thu, 27 Aug 2009 22:00:56 -0700
Subject: Re: [PATCH 4/6] RFC: beiscsi: iscsi
hook in and handling code
Quoted 21 lines
Quoted 9 lines · Jayamohan Kalickal
Review
Quoted 3 lines
(quoted diff) +3
-0+ + cls_session = + iscsi_session_setup(&beiscsi_iscsi_transport, shost, cmds_max,Was there any limit on the number of commands per session? What about per port/scsi_host?
The maximum number of commands is the queuedepth. Yes , we have alimit per
port(scsi_host )as well. Am I required to specify them here. I haven't understood the comment.Quoted 1 line
I was actually just asking because I was curious and because I was wondering about what was going on below.
The host limit should just get set in
scsi_host_template->can_queue(you did this already). Then nelow you do not want to set theshost->can_queuetocmds_max.
Quoted 8 lines
Did the queuedepth comment mean you have a per session limit too? If so then you at least want to do a
min(cmds_max, your_max_queue_depth)to make sure the iscsi layer does not send more commands than you can handle. --
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
___________________________________________________________________________________
This message, together with any attachment(s), contains confidential and proprietary information of ServerEngines Corporation and is intended only for the designated recipient(s) named above. Any unauthorized review, printing, retention, copying, disclosure or distribution is strictly prohibited. If you are not the intended recipient of this message, please immediately advise the sender by reply email message and delete all copies of this message and any attachment(s). Thank you.