Thread (6 messages) flat view 6 messages, 1 author, 2011-10-31
STALE5443d

[PATCH 0/5] ext4: statistic of different data and metadata IO types

From: Zheng Liu <hidden>
Date: 2011-10-31 09:41:50
Also in: linux-fsdevel

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help