ocfs2: Remove ENTRY from masklog.
ENTRY is used to record the entry 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. So for mlog_entry_void, we just remove it. for mlog_entry(...), we replace it with mlog(0,...), and they will be replace by trace event later. Signed-off-by: Tao Ma <boyu.mt@taobao.com>
This commit is contained in:
@@ -5538,7 +5538,7 @@ static int ocfs2_xattr_set_entry_bucket(struct inode *inode,
|
||||
int ret;
|
||||
struct ocfs2_xa_loc loc;
|
||||
|
||||
mlog_entry("Set xattr %s in xattr bucket\n", xi->xi_name);
|
||||
mlog(0, "Set xattr %s in xattr bucket\n", xi->xi_name);
|
||||
|
||||
ocfs2_init_xattr_bucket_xa_loc(&loc, xs->bucket,
|
||||
xs->not_found ? NULL : xs->here);
|
||||
@@ -5581,7 +5581,7 @@ static int ocfs2_xattr_set_entry_index_block(struct inode *inode,
|
||||
{
|
||||
int ret;
|
||||
|
||||
mlog_entry("Set xattr %s in xattr index block\n", xi->xi_name);
|
||||
mlog(0, "Set xattr %s in xattr index block\n", xi->xi_name);
|
||||
|
||||
ret = ocfs2_xattr_set_entry_bucket(inode, xi, xs, ctxt);
|
||||
if (!ret)
|
||||
|
Reference in New Issue
Block a user