| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
virtio-blk: fix an deadlock problem when deactivate block When deactivate block device in vcpu thread, it will do the follow steps: 1) lock qcow2 driver 2) wait inflight io count decrease to zero For disk iothread, it trigger the flush metadata timer: 1) lock qcow2 driver stuck, wait vcpu thread unlock it When decrease inflight io count, it needs to run on disk iothead which has been stuck. So, it cause an deadlock. Do not lock qcow2 driver before inflight io count decrease to zero when deactivate block. Signed-off-by: Yan Wang <wangyan122@huawei.com> Signed-off-by: Fei Xu <xufei30@huawei.com> | 2 个月前 | |
version: Update to v2.5.0 Signed-off-by: Fei Xu <xufei30@huawei.com> | 4 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 4 个月前 |