]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Use tracepoints for mb_history trace file
authorTheodore Ts'o <tytso@mit.edu>
Wed, 30 Sep 2009 04:32:42 +0000 (00:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Sep 2009 04:32:42 +0000 (00:32 -0400)
commitfc50605ac3a1a4402031073576211f5a3df71d37
tree5cf7c8b115617dc3829a16a5969894d37b73173c
parentec3fab4f8d5bcee3b20b8d4d137ad491a975e2a6
ext4: Use tracepoints for mb_history trace file

The /proc/fs/ext4/<dev>/mb_history was maintained manually, and had a
number of problems: it required a largish amount of memory to be
allocated for each ext4 filesystem, and the s_mb_history_lock
introduced a CPU contention problem.

By ripping out the mb_history code and replacing it with ftrace
tracepoints, and we get more functionality: timestamps, event
filtering, the ability to correlate mballoc history with other ext4
tracepoints, etc.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Documentation/filesystems/proc.txt
fs/ext4/ext4.h
fs/ext4/mballoc.c
fs/ext4/mballoc.h
fs/ext4/super.c
include/trace/events/ext4.h