Skip to content

Commit

Permalink
bio: don't write "bio: create slab" messages to syslog
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mikulas Patocka authored and Jens Axboe committed Feb 18, 2014
1 parent 6d0abec commit b4d7124
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b4d7124

Please sign in to comment.