Mikulas Patocka 762a80d9fc dm snapshot: flush disk cache when merging
This patch makes dm-snapshot flush disk cache when writing metadata for
merging snapshot.

Without cache flushing the disk may reorder metadata write and other
data writes and there is a possibility of data corruption in case of
power fault.

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2011-08-02 12:32:00 +01:00
..
2011-07-27 11:00:37 +10:00
2011-07-27 11:00:37 +10:00
2011-07-26 16:49:47 -07:00
2011-03-24 13:54:24 +00:00
2011-05-29 13:03:09 +01:00
2011-07-26 16:49:47 -07:00
2010-08-12 04:14:11 +01:00
2011-05-29 13:03:09 +01:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2011-07-26 16:49:47 -07:00
2010-08-12 04:14:12 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-24 13:54:24 +00:00