dm snapshot: use barrier when writing exception store
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 22 Jun 2009 09:12:26 +0000 (10:12 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 22 Jun 2009 09:12:26 +0000 (10:12 +0100)
commit2bd023452592e5f5cf90dd426cc39b7632b15b76
tree62fe4d816c597e1b6c58bf150603dd72c9ce6135
parent51aa322849581f1a73594e48ea0df63f914ee6a2
dm snapshot: use barrier when writing exception store

Send barrier requests when updating the exception area.

Exception area updates need to be ordered w.r.t. data writes, so that
the writes are not reordered in hardware disk cache.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap-persistent.c