kernel-hacking-2024-linux-s.../fs/ocfs2
Tao Ma a09d09b8f8 ocfs2: Remove mlog(0) from fs/ocfs2/alloc.c
This is the first try of replacing debug mlog(0,...) to
trace events. Wengang has did some work in his original
patch
http://oss.oracle.com/pipermail/ocfs2-devel/2009-November/005513.html
But he didn't finished it.

So this patch removes all mlog(0,...) from alloc.c and adds
the corresponding trace events. Different mlogs have different
solutions.
1. Some are replaced with trace event directly.
2. Some are replaced and some new parameters are added since
   I think we need to know the btree owner in that case.
3. Some are combined into one trace events.
4. Some redundant mlogs are removed.
What's more, it defines some event classes so that we can use
them later.

Cc: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
2011-02-22 08:21:10 +08:00
..
cluster ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
dlm ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
dlmfs fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00
acl.c fs: provide rcu-walk aware permission i_ops 2011-01-07 17:50:29 +11:00
acl.h fs: provide rcu-walk aware permission i_ops 2011-01-07 17:50:29 +11:00
alloc.c ocfs2: Remove mlog(0) from fs/ocfs2/alloc.c 2011-02-22 08:21:10 +08:00
alloc.h ocfs2: Remove unused truncate function from alloc.c 2011-01-07 18:03:00 -08:00
aops.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
aops.h Ocfs2: Teach 'coherency=full' O_DIRECT writes to correctly up_read i_alloc_sem. 2010-12-09 15:36:48 -08:00
blockcheck.c ocfs2: Fix metaecc error messages 2010-09-08 14:25:53 +08:00
blockcheck.h
buffer_head_io.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
buffer_head_io.h
dcache.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
dcache.h Track negative entries v3 2010-09-10 09:18:15 -07:00
dir.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
dir.h
dlmglue.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
dlmglue.h ocfs2: Fix lockdep warning in reflink. 2010-09-10 09:19:06 -07:00
export.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
export.h
extent_map.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
extent_map.h
file.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
file.h fs: provide rcu-walk aware permission i_ops 2011-01-07 17:50:29 +11:00
heartbeat.c
heartbeat.h
inode.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
inode.h Track negative entries v3 2010-09-10 09:18:15 -07:00
ioctl.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
ioctl.h
journal.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
journal.h ocfs2: Fix estimate of necessary credits for mkdir 2011-02-20 02:33:32 -08:00
Kconfig ocfs2: Make OCFS2_FS depend on CONFIGFS_FS 2011-01-16 21:22:40 +00:00
localalloc.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
localalloc.h
locks.c
locks.h
Makefile
mmap.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
mmap.h
namei.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
namei.h
ocfs1_fs_compat.h
ocfs2.h ocfs2: Try to free truncate log when meeting ENOSPC in write. 2010-12-16 00:46:02 -08:00
ocfs2_fs.h ocfs2: Fix system inodes cache overflow. 2010-12-22 02:35:36 -08:00
ocfs2_ioctl.h Merge branch 'globalheartbeat-2' of git://oss.oracle.com/git/smushran/linux-2.6 into ocfs2-merge-window 2010-10-15 13:03:09 -07:00
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2_trace.h ocfs2: Remove mlog(0) from fs/ocfs2/alloc.c 2011-02-22 08:21:10 +08:00
quota.h
quota_global.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
quota_local.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
refcounttree.c kill path_lookup() 2011-03-14 09:15:23 -04:00
refcounttree.h Merge branch 'cow_readahead' of git://oss.oracle.com/git/tma/linux-2.6 into merge-2 2010-09-10 08:41:04 -07:00
reservations.c ocfs2: Move 'wanted' into parens of ocfs2_resmap_resv_bits. 2010-09-23 14:16:47 -07:00
reservations.h
resize.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
resize.h
slot_map.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
slot_map.h
stack_o2cb.c ocfs2: Print message if user mounts without starting global heartbeat 2010-10-06 17:55:29 -07:00
stack_user.c ocfs2_connection_find() returns pointer to bad structure 2010-11-18 15:41:41 -08:00
stackglue.c
stackglue.h
suballoc.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
suballoc.h ocfs2: allow return of new inode block location before allocation of the inode 2010-09-08 14:25:59 +08:00
super.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
super.h
symlink.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
symlink.h
sysfile.c ocfs2: Cache system inodes of other slots. 2010-09-10 08:56:24 -07:00
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
xattr.c ocfs2: Remove EXIT from masklog. 2011-03-07 16:43:21 +08:00
xattr.h