ocfs2: Remove EXIT from masklog.
mlog_exit is used to record the exit status of a function.
But because it is added in so many functions, if we enable it,
the system logs get filled up quickly and cause too much I/O.
So actually no one can open it for a production system or even
for a test.
This patch just try to remove it or change it. So:
1. if all the error paths already use mlog_errno, it is just removed.
Otherwise, it will be replaced by mlog_errno.
2. if it is used to print some return value, it is replaced with
mlog(0,...).
mlog_exit_ptr is changed to mlog(0.
All those mlog(0,...) will be replaced with trace events later.
Signed-off-by:
Tao Ma <boyu.mt@taobao.com>
Showing
- fs/ocfs2/alloc.c 5 additions, 21 deletionsfs/ocfs2/alloc.c
- fs/ocfs2/aops.c 4 additions, 15 deletionsfs/ocfs2/aops.c
- fs/ocfs2/buffer_head_io.c 4 additions, 3 deletionsfs/ocfs2/buffer_head_io.c
- fs/ocfs2/cluster/heartbeat.c 0 additions, 1 deletionfs/ocfs2/cluster/heartbeat.c
- fs/ocfs2/cluster/masklog.c 1 addition, 2 deletionsfs/ocfs2/cluster/masklog.c
- fs/ocfs2/cluster/masklog.h 0 additions, 44 deletionsfs/ocfs2/cluster/masklog.h
- fs/ocfs2/dcache.c 1 addition, 2 deletionsfs/ocfs2/dcache.c
- fs/ocfs2/dir.c 10 additions, 10 deletionsfs/ocfs2/dir.c
- fs/ocfs2/dlm/dlmrecovery.c 1 addition, 4 deletionsfs/ocfs2/dlm/dlmrecovery.c
- fs/ocfs2/dlmglue.c 6 additions, 65 deletionsfs/ocfs2/dlmglue.c
- fs/ocfs2/export.c 3 additions, 3 deletionsfs/ocfs2/export.c
- fs/ocfs2/extent_map.c 0 additions, 1 deletionfs/ocfs2/extent_map.c
- fs/ocfs2/file.c 2 additions, 19 deletionsfs/ocfs2/file.c
- fs/ocfs2/inode.c 2 additions, 13 deletionsfs/ocfs2/inode.c
- fs/ocfs2/ioctl.c 0 additions, 2 deletionsfs/ocfs2/ioctl.c
- fs/ocfs2/journal.c 0 additions, 19 deletionsfs/ocfs2/journal.c
- fs/ocfs2/localalloc.c 20 additions, 15 deletionsfs/ocfs2/localalloc.c
- fs/ocfs2/mmap.c 1 addition, 1 deletionfs/ocfs2/mmap.c
- fs/ocfs2/namei.c 31 additions, 16 deletionsfs/ocfs2/namei.c
- fs/ocfs2/quota_global.c 10 additions, 7 deletionsfs/ocfs2/quota_global.c
Loading
Please register or sign in to comment