Skip to content

OCFS2: Add trace event and replace mlog(0).

Sunil Mushran ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 34 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 34 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 00/34] OCFS2: Add trace event and replace mlog(0).
Quoted 4 lines · Tao Ma

#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.