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-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/