On Sat, 2010-03-13 at 05:25 -0500, nsabagwa mary wrote:
> 
> Hi 
> 
> I have been going through user space code for open-iscsi specifically
> looking for the function that receives read and write requests from
> applications. I need this because i want to monitor application
> requests to the virtual disk. Which user space file and function
> handles this?

The datapath is entirely run in kernel space. You'd have to track
process I/O starting from the syscall interface, typically through some
filesystem, down to the block I/O subsystem, where the initiator lives.

If tracing block I/O works for you, have a look at blktrace.

Bare process I/O is typically followed with strace or some custom
[ptrace] code.

The transformations I/O goes through between are typically quite
twisted.

Cheers,
Daniel

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