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, 7 Jan 2014 15:11:45 +0000 (10:11 -0500)
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>

No differences found