]> err.no Git - linux-2.6/commit
dm snapshot: use per device mempools
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 21 Jul 2008 11:00:35 +0000 (12:00 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 21 Jul 2008 11:00:35 +0000 (12:00 +0100)
commit92e868122edf08b9fc06b112e7e0c80ab94c1f93
tree9cd2e5e2f15adcaf1b8d3f8f55d5a676ad40bfd6
parenta8d41b59f3f5a7ac19452ef442a7fc1b5fa17366
dm snapshot: use per device mempools

Change snapshot per-module mempool to per-device mempool.

Per-module mempools could cause a deadlock if multiple
snapshot devices are stacked above each other.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c
drivers/md/dm-snap.h