• Theodore Ts'o's avatar
    ext4: Use tracepoints for mb_history trace file · 296c355c
    Theodore Ts'o authored
    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>
    296c355c
super.c 113 KB