projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf9e697
)
f2fs: use printk_ratelimited for f2fs_msg
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 3 Aug 2017 03:58:29 +0000
(20:58 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 4 Aug 2017 02:09:52 +0000
(19:09 -0700)
This patch reduces contention of printks.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index fc757c8861b7820a77375dbe4cb8c56e1c49e5fd..b84367856f8ea6e32552d084865d12b55c766a1e 100644
(file)
--- a/
fs/f2fs/super.c
+++ b/
fs/f2fs/super.c
@@
-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);
}