I want to record the disk access activities called by OS. Such data I want to record are received by disk from OS, including disk sector number, request length, arrival time, read or write.To be specific,the OS is linux with kernel of 3.xxx , the disk file system is ext4. Maybe I need to modify the ext4 driver to record such disk access activities.The OS is Ubuntu 15.04 32-bit on Intel i686. I am doing a research and want to get the I/O traces of desktops.
How to obtain the whole disk activities triggered by file systems under linux?
linux;drivers;hard disk;ext4