On 12/21/2009 06:42 AM, nsabagwa mary wrote:
Hi
am new to linux kernel module development. been going through the open-iscsi
code for some time now. i want to get and record memory page requests
directed to the virtual disk files (read or write) which i want to later
analyze and prefetch. this i hope to do with two modules (iscsiprefetcher
and prefetchanalyzer).
How can i
1 - get a process requesting for i/o
Not sure. I think the kernel source tree's
kernel-source/block/cfq-iosched.c might be helpful. That io scheduler
tracks each process's io use.
2 - which function of the open-iscsi driver receives the read/write request
kernel-source/drivers/scsi/libiscsi.c:iscsi_queuecommand() or in the
open-iscsi tarball open-iscsi/kernel/libiscsi:iscsi_queuecommand()
Mary
--
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.
--
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.