Hi, This patchset adds statistic of different data and metadata IO types. Some hooks are added into filesystem's read and write routines and we can see how much IOs are issued to the disk. Meanwhile we ignore the IOs which hit in cache. ios structure saves a callback function for counting read operations because read counter need to be increased in buffer layer. ext4_ios and related functions are defined to count how much different types of IOs are issued to the disk in ext4. Metadata and data types in ext4: +--------------------------------+ | Metadata: | | super block | | group desc | | inode bitmap | | block bitmap | | inode table | | extents | | indirect block | | dir index and entry | | extended attributes | +--------------------------------+ | Data: | | regular data block | +--------------------------------+ Wang Shaoyan (5): ext4: add data structure and functions for io statistic ext4: add hooks in buffer layer ext4: io stat read related entrance ext4: io stat write related entrance ext4: io stat show result in sysfs -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html