[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH 0/4] curl: locking cleanups and fixes
From: |
Paolo Bonzini |
Subject: |
[Qemu-stable] [PATCH 0/4] curl: locking cleanups and fixes |
Date: |
Tue, 9 May 2017 11:35:45 +0200 |
This is the full version of the simple patch:
@@ -473,7 +475,9 @@
break;
}
if (!state) {
+ qemu_mutex_unlock(&s->mutex);
aio_poll(bdrv_get_aio_context(bs), true);
+ qemu_mutex_lock(&s->mutex);
}
} while(!state);
that was tested by Richard last week. Richard, please retest with your test
case.
Thanks,
Paolo
Paolo Bonzini (4):
curl: strengthen assertion in curl_clean_state
curl: never invoke callbacks with s->mutex held
curl: avoid recursive locking of BDRVCURLState mutex
curl: improve search for unused CURLState
block/curl.c | 78 ++++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 55 insertions(+), 23 deletions(-)
--
2.12.2
- [Qemu-stable] [PATCH 0/4] curl: locking cleanups and fixes,
Paolo Bonzini <=
- [Qemu-stable] [PATCH 1/4] curl: strengthen assertion in curl_clean_state, Paolo Bonzini, 2017/05/09
- [Qemu-stable] [PATCH 2/4] curl: never invoke callbacks with s->mutex held, Paolo Bonzini, 2017/05/09
- [Qemu-stable] [PATCH 3/4] curl: avoid recursive locking of BDRVCURLState mutex, Paolo Bonzini, 2017/05/09
- [Qemu-stable] [PATCH 4/4] curl: improve search for unused CURLState, Paolo Bonzini, 2017/05/09
- Re: [Qemu-stable] [PATCH 0/4] curl: locking cleanups and fixes, Richard W.M. Jones, 2017/05/09