]> git.proxmox.com Git - mirror_qemu.git/commit - block/file-posix.c
file-posix: Implement co versions of discard/flush
authorKevin Wolf <kwolf@redhat.com>
Thu, 21 Jun 2018 17:07:32 +0000 (19:07 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 29 Jun 2018 12:20:56 +0000 (14:20 +0200)
commit33d70fb6faa3b8b2aac47a2052a4943c94fc48a2
tree05593bc850d999032c6132d3ebc06eafac158d34
parentae376c6255d0eee4b3c4d60acc4679aa99c0d2c8
file-posix: Implement co versions of discard/flush

This simplifies file-posix by implementing the coroutine variants of
the discard and flush BlockDriver callbacks. These were the last
remaining users of paio_submit(), which can be removed now.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/file-posix.c