commit | f05fa4ad0327579e143b20062e9d45b3ca935e24 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Jun 06 00:04:49 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jun 15 14:03:43 2012 +0200 |
tree | ce14709853445287b07eb85c1be93ab790cb0c66 | |
parent | 0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34 [diff] |
block: flush in writethrough mode after writes We want to make the formats handle their own flushes autonomously, while keeping for guests the ability to use a writethrough cache. Since formats will write metadata via bs->file, bdrv_co_do_writev is the only place where we need to add a flush. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>