qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] block: prohibit migration duri


From: John Snow
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] block: prohibit migration during BlockJobs
Date: Fri, 2 Oct 2015 14:17:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0


On 10/01/2015 02:03 PM, Paolo Bonzini wrote:
> 
> 
> On 01/10/2015 18:34, John Snow wrote:
>> Unless we can prove this to be safe for specific cases,
>> the default should be to prohibit migration during BlockJobs.
> 
> Block jobs do not affect the current block, only other block device,
> hence they *are* safe for migration.
> 

Can you elaborate for me here?

> What you want, I think, is the target not to be garbage when migration
> ends.  Based on this you can block specific cases, namely mirror which
> you already do allow (patch 2) and backup except for sync='none'.
> 
> Paolo
> 

It would be nice if the target wasn't garbage, yes :)

I allow mirror in specific circumstances -- you can't start a mirror,
but if an existing mirror has hit the sync phase, that's OK.

I can try to do a more exhaustive audit of what should and should not
work, but my thought was "guilty before proven innocent."

>> In conjunction with
>> "migration: disallow_migrate_add_blocker during migration",
>> this should be sufficient to disallow the blockjob from starting
>> in the event of an in-progress migration.
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]