diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2022-12-07 14:18:21 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2022-12-15 16:07:43 +0100 |
| commit | da0bd744344adb1f285002467d7fa84699dc2fce (patch) | |
| tree | 944bcb7c9226543d81b55204bad8bf2afb851471 /util/async.c | |
| parent | 0508d0be4b547be8da97c95ea9e1f433077dd2ec (diff) | |
| download | focaccia-qemu-da0bd744344adb1f285002467d7fa84699dc2fce.tar.gz focaccia-qemu-da0bd744344adb1f285002467d7fa84699dc2fce.zip | |
block: Factor out bdrv_drain_all_begin_nopoll()
Provide a separate function that just quiesces the users of a node to prevent new requests from coming in, but without waiting for the already in-flight I/O to complete. This function can be used in contexts where polling is not allowed. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20221207131838.239125-2-kwolf@redhat.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions