[Ocfs2-devel] [PATCH 00/34] OCFS2: Add trace event and replace mlog(0).

Sunil Mushran sunil.mushran at oracle.com
Tue Jan 4 10:43:20 PST 2011


On 01/04/2011 01:06 AM, Tao Ma wrote:
> #find /sys/kernel/debug/tracing/events/ocfs2 -type d|wc -l
> give me 319. Every trace event dir has 4 members(enable,filter,format
> and id). So it contains about 1600(dir+files).
>

That's a lot. ext4 currently has < 40.

I am wondering whether it is wise to treat this as a mlog replacement.

One suggestion would be to not remove all mlogs (other than remove _enter
and _exit as they are completely useless). Add trace events one by one. Coarse
tracing like ext4 has. Remove only those mlogs.



More information about the Ocfs2-devel mailing list