On 05/05/2010 10:26 PM, Jack Z wrote:
Hi Mike,

Thank you for your help again. Following the guidance in your reply, I
traced the kernel code a bit more and eventually found out a possible
path for open-iscsi to get 4K pages in the scatterlist.

Kernel version: 2.6.30
open-iscsi version: 2.0.871

Trace 1: SCSI from a write request to data written into pages

-->  function pointer

sg_fops.write -->  sg_write()


Just so you know, this is the passthrough path. You are using some tools like sg_utils or doing SG IO right?

What I described might be a little different than this path. I was describing the normal FS/Block layer code path (like when you do a read()/write() to /dev/sda or to some file on a FS on /dev/sda).

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