git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: make flush bios explicitly sync
[sfrench/cifs-2.6.git]
/
drivers
/
md
/
dm-snap-persistent.c
diff --git
a/drivers/md/dm-snap-persistent.c
b/drivers/md/dm-snap-persistent.c
index b93476c3ba3f9767fb133fed977e7a888cc0698e..c5534d294773fc0267a1b4c7438a3316e74d417a 100644
(file)
--- a/
drivers/md/dm-snap-persistent.c
+++ b/
drivers/md/dm-snap-persistent.c
@@
-741,7
+741,8
@@
static void persistent_commit_exception(struct dm_exception_store *store,
/*
* Commit exceptions to disk.
*/
- if (ps->valid && area_io(ps, REQ_OP_WRITE, REQ_PREFLUSH | REQ_FUA))
+ if (ps->valid && area_io(ps, REQ_OP_WRITE,
+ REQ_PREFLUSH | REQ_FUA | REQ_SYNC))
ps->valid = 0;
/*