How to recognize synchronous write requests

From: Amirali Shambayati
Date: Fri Jul 15 2011 - 11:31:38 EST


Hi all,

As much as I know, type of an IO request can be realized by "DATA_DIR"
macro,but I wanted to know if it is possible to distinguish a read or
write is synchronous or asychronous.

I'm also using "blktrace" to extract requests dispatching to disk.
blktrace, determines synchrnous writes as "ws" and asynchronous writes
as "w".


Regards,

--
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran
--
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/