Skip to content
Commit 296c355c authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 90576c0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment