Re: [Qemu-block] RFC: Operation Blockers in QEMU Block Nodes

2016-01-25 Thread Alberto Garcia
Hi, I'm late to the party but I wanted to say that I generally like the idea of expressing the notion of op blockers in terms of the specific things that they allow and require in each one of the affected nodes. I don't know if all current operations can be expressed easily with these semantics,

Re: [Qemu-block] RFC: Operation Blockers in QEMU Block Nodes

2015-12-18 Thread Jeff Cody
On Fri, Dec 18, 2015 at 03:19:25PM +0100, Kevin Wolf wrote: > Am 16.12.2015 um 07:25 hat Jeff Cody geschrieben: > > Background: > > > > Block jobs, and other QAPI operations, may modify and impact the > > BlockDriverState graph in QEMU. In order to support multiple > > operations safe

Re: [Qemu-block] RFC: Operation Blockers in QEMU Block Nodes

2015-12-18 Thread Kevin Wolf
Am 16.12.2015 um 07:25 hat Jeff Cody geschrieben: > Background: > > Block jobs, and other QAPI operations, may modify and impact the > BlockDriverState graph in QEMU. In order to support multiple > operations safely, we need a mechanism to block and gate operations, > > We currently

Re: [Qemu-block] RFC: Operation Blockers in QEMU Block Nodes

2015-12-17 Thread Stefan Hajnoczi
On Wed, Dec 16, 2015 at 01:25:29AM -0500, Jeff Cody wrote: > Background: > > Block jobs, and other QAPI operations, may modify and impact the > BlockDriverState graph in QEMU. In order to support multiple > operations safely, we need a mechanism to block and gate operations, > > We c

[Qemu-block] RFC: Operation Blockers in QEMU Block Nodes

2015-12-15 Thread Jeff Cody
Background: Block jobs, and other QAPI operations, may modify and impact the BlockDriverState graph in QEMU. In order to support multiple operations safely, we need a mechanism to block and gate operations, We currently have op blockers, that are attached to each BDS. However, in pra