aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-11-09 18:16:51 +0800
committerKevin Wolf <kwolf@redhat.com>2015-11-12 16:22:43 +0100
commit5c5ae76acb024f05b8f021e9f1e10a0299328bdd (patch)
tree81a83d45b9c9fac6d53da44dcc90e6d78440e0fa /stubs
parent8b45f6878d291646cadc4786ae807e6a42c188b4 (diff)
block: Emulate bdrv_ioctl with bdrv_aio_ioctl and track both
Currently all drivers that support .bdrv_aio_ioctl also implement .bdrv_ioctl redundantly. To track ioctl requests in block layer it is easier if we unify the two paths, because we'll need to run it in a coroutine, as required by tracked_request_begin. While we're at it, use .bdrv_aio_ioctl plus aio_poll() to emulate bdrv_ioctl(). Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1447064214-29930-7-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions