]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Flush host cache after write
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 18 Aug 2011 12:40:03 +0000 (14:40 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 19 Aug 2011 09:10:31 +0000 (11:10 +0200)
commitb32f8b19894c2a05e5955056caa45cb4cb0babeb
tree653d9cceb4dcc7b3152d091aba2abaab918c88dc
parent74c75671331d284e1f777f9692b72e9737520bf0
storage: Flush host cache after write

Although we are flushing cache after some critical writes (e.g.
volume creation), after some others we do not (e.g. volume cloning).
This patch fix this issue. That is for volume cloning, writing
header of logical volume, and storage wipe.
src/storage/storage_backend.c
src/storage/storage_backend_logical.c
src/storage/storage_driver.c