On 10.07.19 01:25, John Snow wrote: > I'm surprised it didn't come up sooner, but sometimes we have a +busy > bitmap as a source. This is dangerous from the QMP API, but if we are > the owner that marked the bitmap busy, it's safe to merge it using it as > a read only source. > > It is not safe in the general case to allow users to read from in-use > bitmaps, so create an internal variant that foregoes the safety > checking. > > Signed-off-by: John Snow <js...@redhat.com> > --- > block/dirty-bitmap.c | 54 +++++++++++++++++++++++++++++++++++---- > include/block/block_int.h | 3 +++ > 2 files changed, 52 insertions(+), 5 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature