commit | d49725af46a7710cde02cc120b7f1e485154b483 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Sep 13 14:39:14 2018 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Sep 25 15:50:15 2018 +0200 |
tree | 6bdb1ffe8c8fedf0df86e3891a35b29882f25741 | |
parent | 644f3a29bd4974aefd46d2adb5062d86063c8a50 [diff] |
test-bdrv-drain: AIO_WAIT_WHILE() in job .commit/.abort This adds tests for calling AIO_WAIT_WHILE() in the .commit and .abort callbacks. Both reasons why .abort could be called for a single job are tested: Either .run or .prepare could return an error. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>