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)
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>

No differences found