From: Mikulas Patocka Date: Tue, 2 Aug 2011 11:32:00 +0000 (+0100) Subject: dm snapshot: flush disk cache when merging X-Git-Tag: v3.1-rc1~85^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762a80d9fc9f690a3a35983f3b4619a220650808;p=pandora-kernel.git 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 Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed