[PATCH for-5.0 0/2] block: Fix blk->in_flight during blk_wait_while_drained()

Kevin Wolf posted 2 patches 5 years, 7 months ago
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test checkpatch passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200403104415.20963-1-kwolf@redhat.com
Maintainers: Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>
block/block-backend.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
[PATCH for-5.0 0/2] block: Fix blk->in_flight during blk_wait_while_drained()
Posted by Kevin Wolf 5 years, 7 months ago
This fixes deadlocks when draining a BlockBackend in an iothread that
receives new requests at the same time.

Kevin Wolf (2):
  block: Don't blk_wait_while_drained() in blk_co_preadv/pwritev
  block: Fix blk->in_flight during blk_wait_while_drained()

 block/block-backend.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

-- 
2.20.1