summaryrefslogtreecommitdiffstats
path: root/block.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2020-10-21 16:58:44 +0200
committerMax Reitz2020-12-18 12:35:55 +0100
commitd1a764d126aa9bd1b519855607f55daf266b07bf (patch)
treea38cf66506446cbde41fe5aefa6f1979ac5901f2 /block.c
parentblock: bdrv_mark_request_serialising: split non-waiting function (diff)
downloadqemu-d1a764d126aa9bd1b519855607f55daf266b07bf.tar.gz
qemu-d1a764d126aa9bd1b519855607f55daf266b07bf.tar.xz
qemu-d1a764d126aa9bd1b519855607f55daf266b07bf.zip
block: introduce BDRV_REQ_NO_WAIT flag
Add flag to make serialising request no wait: if there are conflicting requests, just return error immediately. It's will be used in upcoming preallocate filter. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20201021145859.11201-7-vsementsov@virtuozzo.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions