dm thin: use slab mempools
authorMike Snitzer <snitzer@redhat.com>
Sat, 2 Jun 2012 23:30:00 +0000 (00:30 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 2 Jun 2012 23:30:00 +0000 (00:30 +0100)
commita24c25696b7133dd534d7a9436e576af79d9ce3b
tree7b8b429aec7d7b2cebfbfbba0047911dc79290aa
parent35991652baa12ff3d0e420c0d0cb2ad9f7076e5b
dm thin: use slab mempools

Use dedicated caches prefixed with a "dm_" name rather than relying on
kmalloc mempools backed by generic slab caches so the memory usage of
thin provisioning (and any leaks) can be accounted for independently.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c