]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: count hits/misses of extent cache and expose in sysfs
authorVivek Haldar <haldar@google.com>
Mon, 23 May 2011 01:24:16 +0000 (21:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 May 2011 01:24:16 +0000 (21:24 -0400)
commitaac38d80659f1f42c9706fa6e738c2a746124588
tree8f85549d2354c5a69a5b29197f68a554daad1324
parent9aa49993a0044b1d6d9eaade29a611fffc5ae699
ext4: count hits/misses of extent cache and expose in sysfs

The number of hits and misses for each filesystem is exposed in
/sys/fs/ext4/<dev>/extent_cache_{hits, misses}.

Tested: fsstress, manual checks.
Signed-off-by: Vivek Haldar <haldar@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/super.c