developing prefetcher with open-iscsi

1 view
Skip to first unread message

nsabagwa mary

unread,
Dec 21, 2009, 7:42:33 AM12/21/09
to open-...@googlegroups.com
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
2 - which function of the open-iscsi driver receives the read/write request

Mary

Mike Christie

unread,
Jan 6, 2010, 1:33:40 PM1/6/10
to open-...@googlegroups.com, nsabagwa mary
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-...@googlegroups.com.
> To unsubscribe from this group, send email to open-iscsi+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
>
>
>

Reply all
Reply to author
Forward
0 new messages