dm snapshot: use dm-bufio
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 14 Jan 2014 00:12:36 +0000 (19:12 -0500)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Jan 2014 04:23:02 +0000 (23:23 -0500)
commit55494bf2947dccdf2d98b62374fea7365dfead84
tree08958b0812f1c59732f6a56e2b567ad3a8da7230
parent2cadabd512acca99e6553d303eaedc97a3178a4d
dm snapshot: use dm-bufio

Use dm-bufio for initial loading of the exceptions.
Introduce a new function dm_bufio_forget that frees the given buffer.

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