bio: don't write "bio: create slab" messages to syslog
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 18 Feb 2014 18:09:34 +0000 (13:09 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 18 Feb 2014 20:17:47 +0000 (12:17 -0800)
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>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/bio.c

index 8754e7b6eb49330055a1efc69e86451fa9c65ff8..b2dd42ed9edd1a976a21df2a2e3830cafc6785fb 100644 (file)
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -116,7 +116,6 @@ static struct kmem_cache *bio_find_or_create_slab(unsigned int extra_size)
        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;