Skip to content

The first try of adding trace event to ocfs2.

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ocfs2: Remove unused truncate function from alloc.cfs/ocfs2/alloc.c fs/ocfs2/alloc.h+0 -781 reply
2/5ocfs2: Remove ENTRY from masklog.fs/ocfs2/alloc.c fs/ocfs2/aops.c fs/ocfs2/buffer_head_io.c +30 more+168 -4381 reply
2/5ocfs2: Remove ENTRY from masklog.+0 -00 replies
3/5ocfs2: Remove EXIT from masklog.fs/ocfs2/alloc.c fs/ocfs2/aops.c fs/ocfs2/buffer_head_io.c +24 more+159 -3151 reply
3/5ocfs2: Remove EXIT from masklog.+0 -00 replies
4/5ocfs2: Add ocfs2_trace.h.fs/ocfs2/ocfs2_trace.h fs/ocfs2/super.c+19 -01 reply
4/5ocfs2: Add ocfs2_trace.h.+0 -01 reply
5/5ocfs2: Remove mlog(0) from fs/ocfs2/alloc.cfs/ocfs2/alloc.c fs/ocfs2/ocfs2_trace.h+573 -771 reply
5/5ocfs2: Remove mlog(0) from fs/ocfs2/alloc.c+0 -00 replies

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 0/5] The first try of adding trace event to ocfs2.

Hi all,
This patch set is my first try to add trace event to ocfs2.

Wengang Wang has did some work in this field about one year ago.
http://oss.oracle.com/pipermail/ocfs2-devel/2009-September/005230.html
But at that time we don't have ocfs2 1.6 introduced, so we delay this work until now after ocfs2 1.6 and UEK(Unbreakable Enterprise Kernel) are released.

Patch 1 is actually a clean up and unrelated to trace event, but if we don't have this one, patch 2/3/4/5 won't be applied cleanly, so I'd like to include it here.

Patch 2 and 3 are my attempt to remove ML_ENTRY and ML_EXIT. These 2 flags are overused and actually enabling them means disasters in our debugging.

Patch 4/5 are the real patches for trace event. Please review these 2 patches. And if it is ok, I will go ahead with other files under fs/ocfs2/.

Regards,
Tao