public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bio: don't write "bio: create slab" messages to syslog
@ 2014-02-18 18:09 Mikulas Patocka
  2014-02-18 20:18 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Mikulas Patocka @ 2014-02-18 18:09 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Zdenek Kabelac, dm-devel, linux-kernel

When using device mapper, there are many "bio: create slab" messages in
the log. Device mapper targets have different front_pad, so each time when
we load a target that wasn't loaded before, we allocate a slab with the
appropriate front_pad and there is associated "bio: create slab" message.

This patch removes these messages, there is no need for them.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

---
 fs/bio.c |    1 -
 1 file changed, 1 deletion(-)

Index: linux-3.14-rc3/fs/bio.c
===================================================================
--- linux-3.14-rc3.orig/fs/bio.c	2014-02-18 18:53:30.000000000 +0100
+++ linux-3.14-rc3/fs/bio.c	2014-02-18 18:53:38.000000000 +0100
@@ -116,7 +116,6 @@ static struct kmem_cache *bio_find_or_cr
 	if (!slab)
 		goto out_unlock;
 
-	printk(KERN_INFO "bio: create slab <%s> at %d\n", bslab->name, entry);
 	bslab->slab = slab;
 	bslab->slab_ref = 1;
 	bslab->slab_size = sz;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] bio: don't write "bio: create slab" messages to syslog
  2014-02-18 18:09 [PATCH] bio: don't write "bio: create slab" messages to syslog Mikulas Patocka
@ 2014-02-18 20:18 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-02-18 20:18 UTC (permalink / raw)
  To: Mikulas Patocka; +Cc: Zdenek Kabelac, dm-devel, linux-kernel

On Tue, Feb 18 2014, Mikulas Patocka wrote:
> When using device mapper, there are many "bio: create slab" messages in
> the log. Device mapper targets have different front_pad, so each time when
> we load a target that wasn't loaded before, we allocate a slab with the
> appropriate front_pad and there is associated "bio: create slab" message.
> 
> This patch removes these messages, there is no need for them.

Agreed, it's time to kill off that message. Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-18 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 18:09 [PATCH] bio: don't write "bio: create slab" messages to syslog Mikulas Patocka
2014-02-18 20:18 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox