The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Doubts on IO requests in USB subsystem
@ 2013-09-09  8:20 Morales, Alejandra
  2013-09-09 16:40 ` Oliver Neukum
  0 siblings, 1 reply; 5+ messages in thread
From: Morales, Alejandra @ 2013-09-09  8:20 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

Dear all,

For my master thesis I am developing a user space power management tool. For that purpose
I am implementing a kernel module and one task this module does is to intercept calls to the
request_fn function for every scsi device in order to check when they are actually being requested
an IO operation.

I am testing with a regular SATA hard drive and with an external USB hard drive. Both are just
mounted and there is no application using them at the moment, so that I was expecting that none
of them receive file system requests. Indeed the SATA HD does not receive any requests unless I
mount or unmount it, but the USB HD receives a large number of file system requests and it seems
that it never enters into an idle state. Since any application is using it I think these requests may
come from the USB subsystem. Am I right? If so, how could I determine whether a request comes
from the USB subsystem or it is a file system request that actually moves blocks?

Thanks in advance.
Regards,
Alejandra

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-06 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-09  8:20 Doubts on IO requests in USB subsystem Morales, Alejandra
2013-09-09 16:40 ` Oliver Neukum
2013-09-16 10:33   ` Morales, Alejandra
2013-09-16 11:06     ` Oliver Neukum
2013-11-06 11:51       ` Morales, Alejandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox