diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-10-20 12:56:14 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-10-27 19:05:22 +0200 |
commit | 8c2e3dd55f54ba00fd0893a535c09b5fcd7a877b (patch) | |
tree | a4a54483fc4fdd2b7b7502eb71ffef0b35eda017 /iothread.c | |
parent | be07a889816b72c6e73b7649afe563590156ff9c (diff) | |
download | qemu-8c2e3dd55f54ba00fd0893a535c09b5fcd7a877b.tar.gz qemu-8c2e3dd55f54ba00fd0893a535c09b5fcd7a877b.tar.bz2 qemu-8c2e3dd55f54ba00fd0893a535c09b5fcd7a877b.zip |
block: Use blk_co_pdiscard() for all BB level discard
All read/write functions already have a single coroutine-based function
on the BlockBackend level through which all requests go (no matter what
API style the external caller used) and which passes the requests down
to the block node level.
This patch extends this mode of operation to discards.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions