git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6140333
)
dm snapshot: flush disk cache when merging
author
Mikulas Patocka
<mpatocka@redhat.com>
Tue, 2 Aug 2011 11:32:00 +0000
(12:32 +0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Tue, 2 Aug 2011 11:32:00 +0000
(12:32 +0100)
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>
drivers/md/dm-snap-persistent.c
patch
|
blob
|
history
diff --cc
drivers/md/dm-snap-persistent.c
Simple merge