提交 a36c106d 编写于 作者: J Jaegeuk Kim

f2fs: use printk_ratelimited for f2fs_msg

This patch reduces contention of printks.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 bf9e697e
......@@ -159,7 +159,7 @@ void f2fs_msg(struct super_block *sb, const char *level, const char *fmt, ...)
va_start(args, fmt);
vaf.fmt = fmt;
vaf.va = &args;
printk("%sF2FS-fs (%s): %pV\n", level, sb->s_id, &vaf);
printk_ratelimited("%sF2FS-fs (%s): %pV\n", level, sb->s_id, &vaf);
va_end(args);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册