Mikulas Patocka 73dfd078cf dm snapshot: trigger exceptions in remaining snapshots during merge
When there is one merging snapshot and other non-merging snapshots,
snapshot_merge_process() must make exceptions in the non-merging
snapshots.

Use a sequence count to resolve the race between I/O to chunks that are
about to be merged.  The count increases each time an exception
reallocation finishes.  Use wait_event() to wait until the count
changes.

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>
2009-12-10 23:52:34 +00:00
..
2009-12-10 23:52:25 +00:00
2009-12-10 23:52:32 +00:00
2009-12-10 23:52:22 +00:00
2009-12-10 23:52:13 +00:00
2009-09-14 08:24:52 +02:00
2009-12-10 23:51:52 +00:00
2009-12-10 23:52:27 +00:00