summaryrefslogtreecommitdiff
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2011-08-02 12:32:00 +0100
committerJonas ABERG <jonas.aberg@stericsson.com>2011-10-28 11:16:58 +0200
commite45beaf693e4d0923a28569f995dbacbf915265d (patch)
tree41393ae1c528419e0838247089203aa8af1582c1 /drivers/md/dm-mpath.c
parent809a5aaf90d6468f67380f4e762b32495a524dcb (diff)
dm snapshot: flush disk cache when merging
commit 762a80d9fc9f690a3a35983f3b4619a220650808 upstream. 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. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Change-Id: Iea48c7db57774e0e0b841a42c67ddd7e1f2fad62 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35678 Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
0 files changed, 0 insertions, 0 deletions