Hi Mike, Thank you very much for the information.
I'm gonna read first and get some fundamental understanding about bio and the code, and then give those two things a shot and see what I can do. Again, thanks a lot! Jack On May 6, 3:41 pm, Mike Christie <micha...@cs.wisc.edu> wrote: > On 05/06/2010 04:22 PM, Jack Z wrote: > > > Hi Mike, > > > Thank you for the super prompt reply. I actually downloaded that book > > a while but never read. I'm gonna start reading right away. Thanks a > > lot for telling me. > > > Two more questions about open-iscsi implementaion though.. > > > 1. As you mentioned in a previous reply, open-iscsi only supports one > > page in one sg entry, is there any specific reason behind that? and > > would it be possible to enable " scsi_host_template::use_clustering"? > > The code just does not support more than one page. It would not be too > hard to add (linux-iscsi did it), and then you can enable clustering. > > You would have to look at where we access the page and make sure we do > not assume sg->length is only one page and that sg->page is only one page. > > > > > 2. I looked at the way sendpage() is used in iscsi_tcp.c and it seems > > like we are sending one sg entry per sendpage() call. I was wondering > > would it possible to send more than one sg entries per at one time, > > say we copy a few pages to one buffer fist and then send out that > > buffer through sendpage()? > > I think it can as long as the pages are contiguous. See > tcp_sendpage->sock_no_sendpage or do_tcp_sendpages. > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To post to this group, send email to open-is...@googlegroups.com. > To unsubscribe from this group, send email to > open-iscsi+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/open-iscsi?hl=en. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.