Skip to content

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

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/34ocfs2: Remove unused truncate function from alloc.cfs/ocfs2/alloc.c fs/ocfs2/alloc.h+0 -781 reply
2/34ocfs2: Remove ENTRY from masklog.fs/ocfs2/alloc.c fs/ocfs2/aops.c fs/ocfs2/buffer_head_io.c +30 more+168 -4380 replies
3/34ocfs2: Remove EXIT from masklog.fs/ocfs2/alloc.c fs/ocfs2/aops.c fs/ocfs2/buffer_head_io.c +24 more+159 -3150 replies
4/34ocfs2: Add ocfs2_trace.h.fs/ocfs2/ocfs2_trace.h fs/ocfs2/super.c+19 -01 reply
5/34ocfs2: Remove mlog(0) from fs/ocfs2/alloc.cfs/ocfs2/alloc.c fs/ocfs2/ocfs2_trace.h+589 -771 reply
5/34ocfs2: Remove mlog(0) from fs/ocfs2/alloc.c+0 -00 replies
6/34ocfs2: Remove mlog(0) from fs/ocfs2/localalloc.cfs/ocfs2/localalloc.c fs/ocfs2/ocfs2_trace.h+195 -340 replies
7/34ocfs2: Remove mlog(0) from fs/ocfs2/suballoc.cfs/ocfs2/ocfs2_trace.h fs/ocfs2/suballoc.c+381 -550 replies
8/34ocfs2: Remove mlog(0) from fs/ocfs2/suballoc.cfs/ocfs2/ocfs2_trace.h fs/ocfs2/resize.c+32 -50 replies
9/34ocfs2: Remove DISK_ALLOC from masklog.fs/ocfs2/alloc.c fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h +3 more+0 -60 replies
10/34ocfs2: Remove masklog ML_REFCOUNT.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/ocfs2_trace.h +1 more+508 -820 replies
11/34ocfs2: Remove mlog(0) from fs/ocfs2/aops.cfs/ocfs2/aops.c fs/ocfs2/ocfs2_trace.h+197 -260 replies
12/34ocfs2: Remove FILE_IO from masklog.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/mmap.c +1 more+31 -60 replies
13/34ocfs2: remove INODE from unused files.fs/ocfs2/acl.c fs/ocfs2/ioctl.c fs/ocfs2/locks.c+0 -30 replies
14/34ocfs2: Remove mlog(0) from fs/ocfs2/file.cfs/ocfs2/file.c fs/ocfs2/ocfs2_trace.h fs/ocfs2/sysfile.c+460 -980 replies
15/34ocfs2: Little refactoring against ocfs2_iget.fs/ocfs2/inode.c+5 -50 replies
16/34ocfs2: Remove masklog ML_INODE.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/inode.c +1 more+273 -630 replies
17/34ocfs2: Remove masklog ML_EXTENT_MAP.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/extent_map.c +1 more+34 -50 replies
18/34ocfs2: Remove mlog(0) from fs/ocfs2/slot_map.cfs/ocfs2/ocfs2_trace.h fs/ocfs2/slot_map.c+35 -80 replies
19/34ocfs2: Remove mlog(0) from fs/ocfs2/heartbeat.cfs/ocfs2/heartbeat.c fs/ocfs2/ocfs2_trace.h+11 -20 replies
20/34ocfs2: Remove masklog ML_SUPER.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/ocfs2_trace.h +1 more+151 -210 replies
21/34ocfs2: Remove masklog ML_XATTR.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/ocfs2_trace.h +1 more+417 -800 replies
22/34ocfs2: Remove masklog ML_RESERVATIONS.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/ocfs2_trace.h +1 more+196 -330 replies
23/34ocfs2: Remove mlog(0) from quota_local.c.fs/ocfs2/ocfs2_trace.h fs/ocfs2/quota_local.c+31 -60 replies
24/34ocfs2: Remove masklog ML_QUOTA.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/ocfs2_trace.h +1 more+122 -140 replies
25/34ocfs2: remove NAMEI from symlink.cfs/ocfs2/symlink.c+0 -10 replies
26/34ocfs2: Remove mlog(0) from fs/ocfs2/dir.cfs/ocfs2/dir.c fs/ocfs2/ocfs2_trace.h+234 -460 replies
27/34ocfs2: Remove masklog ML_NAMEI.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/namei.c +1 more+408 -710 replies
28/34ocfs2: Remove masklog ML_DCACHE.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/dcache.c +1 more+165 -240 replies
29/34ocfs2: Remove masklog ML_EXPORT.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/export.c +1 more+155 -290 replies
30/34ocfs2: Remove masklog ML_JOURNAL.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h fs/ocfs2/journal.c +1 more+295 -780 replies
31/34ocfs2: Remove masklog ML_BH_IO.fs/ocfs2/buffer_head_io.c fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h +1 more+89 -260 replies
32/34ocfs2: Remove masklog ML_UPTODATE.fs/ocfs2/buffer_head_io.c fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h +2 more+153 -410 replies
33/34ocfs2: Remove masklog ML_AIO.fs/ocfs2/cluster/masklog.c fs/ocfs2/cluster/masklog.h+0 -20 replies
34/34ocfs2: Make the left masklogs compat.fs/ocfs2/cluster/masklog.h+20 -200 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 00/34] OCFS2: Add trace event and replace mlog(0).

Hi all,

This patch set is my attempt to replace our old debug(mlog) with new trace events.

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.

All patches except one(see below) are only mlog related, so they shouldn't affect the normal operations in ocfs2 and they should be easy for review(patch 1-5 were already sent to the mail list around one month ago).

The only one that changes the codes somehow are patch 15, "ocfs2: Little refactoring against ocfs2_iget", but it looks straightforward.

Regards,
Tao