Trapping Block I/O

From: Block Device
Date: Fri Sep 23 2005 - 07:44:00 EST


Hi,

I need to trap _all_ the I/O going to each and every block device
in the system. I used jprobes to trap calls to generic_make_request.
Is this the correct/only place to do such a thing ?
Or do I have to monitor the q->make_request_fn for every device ?

Thanks & Regards
-BD.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/