block: always open drivers in writeback mode
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Jun 2012 22:04:53 +0000 (00:04 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:43 +0000 (14:03 +0200)
commite1e9b0aca05747be9e2174a53205bd904c10da49
tree7f802701f7ca30c40768aa974ec61f8df9af8bc1
parent425b01487a8072c3b16fa4b3fca30d8ecd06e0ca
block: always open drivers in writeback mode

Formats are entirely in charge of flushes for metadata writes.  For
guest-initiated writes, a writethrough cache is faked in the block layer.
So we can always open in writeback mode.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c