block: Introduce bdrv_co_writev_flags()
authorKevin Wolf <kwolf@redhat.com>
Thu, 10 Mar 2016 12:39:55 +0000 (13:39 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Mar 2016 10:16:02 +0000 (12:16 +0200)
commit93f5e6d88a452799b907954b90cf49abee8f7ea4
tree02ee3185ed3250aef9ebfc839cc2a729960d5bb3
parentc83f9fba2a4ae3f07a7ac8ff8c021f539a08b6ce
block: Introduce bdrv_co_writev_flags()

This function will allow drivers to implement BDRV_REQ_FUA natively
instead of sending a separate flush after the write.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/io.c
include/block/block_int.h