Re: [Qemu-block] [PATCH v5] blockdev: acquire aio_context for bitmap add/remove

2019-02-19 Thread Eric Blake
On 2/18/19 5:31 PM, John Snow wrote: > When bitmaps are persistent, they may incur a disk read or write when bitmaps > are added or removed. For configurations like virtio-dataplane, failing to > acquire this lock will abort QEMU when disk IO occurs. > > We used to acquire aio_context as part of t

[Qemu-block] [PATCH v5] blockdev: acquire aio_context for bitmap add/remove

2019-02-18 Thread John Snow
When bitmaps are persistent, they may incur a disk read or write when bitmaps are added or removed. For configurations like virtio-dataplane, failing to acquire this lock will abort QEMU when disk IO occurs. We used to acquire aio_context as part of the bitmap lookup, so re-introduce the lock for