f2fs: use printk_ratelimited for f2fs_msg
This patch reduces contention of printks. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
4eaf3d7698
commit
5ca0d2134d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue