OSDN Git Service

test-bdrv-drain: Test that bdrv_drain_invoke() doesn't poll
authorKevin Wolf <kwolf@redhat.com>
Fri, 23 Mar 2018 19:10:52 +0000 (20:10 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 Jun 2018 13:03:25 +0000 (15:03 +0200)
commit57320ca961c2e8488e1884b4ebbcb929b6901dc6
tree165233b3a82a8867961f41e123abb878d5a26f8c
parent0109e7e6f83ae5166b81bbd9a4319d60be49985a
test-bdrv-drain: Test that bdrv_drain_invoke() doesn't poll

This adds a test case that goes wrong if bdrv_drain_invoke() calls
aio_poll().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/test-bdrv-drain.c