]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm delay: use per-bio data instead of a mempool and slab cache
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 15 Nov 2013 21:12:51 +0000 (16:12 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 17 Dec 2013 23:01:17 +0000 (18:01 -0500)
commitd53f84653eeb34bc897c1bb65637d4792ea3844d
tree037490ed423cfce470971ca5dc38cc36008b91b0
parent54a0d0087b265c6083a14509fd99295d5ebeb99e
dm delay: use per-bio data instead of a mempool and slab cache

Starting with commit c0820cf5ad095 ("dm: introduce per_bio_data"),
device mapper has the capability to pre-allocate a target-specific
structure with the bio.

This patch changes dm-delay to use this facility instead of a slab cache
and mempool.

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