summaryrefslogtreecommitdiff
path: root/block/blk-wbt.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-04-03 12:59:04 +0300
committerSean Paul <seanpaul@chromium.org>2018-04-25 22:03:13 +0300
commitd02d270014f70dcab0117776b81a37b6fca745ae (patch)
tree66df1e84cb2f96ef2a79bde51c615b0cf35d0032 /block/blk-wbt.h
parent7a31805ba28c93f80cf874492e2f21da80851a9f (diff)
downloadlinux-d02d270014f70dcab0117776b81a37b6fca745ae.tar.xz
drm/virtio: fix vq wait_event condition
Wait until we have enough space in the virt queue to actually queue up our request. Avoids the guest spinning in case we have a non-zero amount of free entries but not enough for the request. Cc: stable@vger.kernel.org Reported-by: Alain Magloire <amagloire@blackberry.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20180403095904.11152-1-kraxel@redhat.com Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions