dm bufio: use slab cache for dm_buffer structure allocations
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 26 Mar 2018 18:29:45 +0000 (20:29 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:27 +0000 (15:04 -0400)
commit359dbf19ab524652a2208a2a2cddccec2eede2ad
treeb4e9121cc64e527acb8a59bf0b2ab51029cbc434
parent03b02939593700caf391dc02b86b23b0d7aac2e5
dm bufio: use slab cache for dm_buffer structure allocations

kmalloc padded to the next power of two, using a slab cache avoids this.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c