dm snapshot: add merging
commit1e03f97e4301f75a2f3b649787f7876516764929
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 10 Dec 2009 23:52:32 +0000 (10 23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:32 +0000 (10 23:52 +0000)
tree37f4baa83145c011245a83f1e18acf9348aac3c3
parent9d3b15c4c776b041f9ee81810cbd375275411829
dm snapshot: add merging

Merging is started when origin is resumed and it is stopped when
origin is suspended or when the merging snapshot is destroyed or
errors are detected.

Merging is not yet interlocked with writes: this will be handled in
subsequent patches.

The code relies on callbacks from a private kcopyd thread.

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