Re: [Qemu-block] [PATCH v9 05/11] block: allow block jobs in any arbitrary node

2016-05-06 Thread Alberto Garcia
On Fri 29 Apr 2016 05:00:57 PM CEST, Kevin Wolf wrote: >> - Block jobs can now be identified by the node name of their >> BlockDriverState in addition to the device name. Since both device >> and node names live in the same namespace there's no ambiguity. > > Careful, we know this is a part of our

Re: [Qemu-block] [PATCH v9 05/11] block: allow block jobs in any arbitrary node

2016-04-29 Thread Eric Blake
On 04/04/2016 07:43 AM, Alberto Garcia wrote: > Currently, block jobs can only be owned by root nodes. This patch > allows block jobs to be in any arbitrary node, by making the following > changes: > > - Block jobs can now be identified by the node name of their > BlockDriverState in addition to

Re: [Qemu-block] [PATCH v9 05/11] block: allow block jobs in any arbitrary node

2016-04-29 Thread Kevin Wolf
Am 04.04.2016 um 15:43 hat Alberto Garcia geschrieben: > Currently, block jobs can only be owned by root nodes. This patch > allows block jobs to be in any arbitrary node, by making the following > changes: > > - Block jobs can now be identified by the node name of their > BlockDriverState in ad

Re: [Qemu-block] [PATCH v9 05/11] block: allow block jobs in any arbitrary node

2016-04-27 Thread Alberto Garcia
On Wed 27 Apr 2016 02:30:55 PM CEST, Max Reitz wrote: >> @@ -3694,18 +3696,18 @@ static BlockJob *find_block_job(const char *device, >> AioContext **aio_context, >> >> *aio_context = NULL; >> >> -blk = blk_by_name(device); >> -if (!blk) { >> +bs = bdrv_lookup_bs(device_or_node

Re: [Qemu-block] [PATCH v9 05/11] block: allow block jobs in any arbitrary node

2016-04-27 Thread Max Reitz
On 04.04.2016 15:43, Alberto Garcia wrote: > Currently, block jobs can only be owned by root nodes. This patch > allows block jobs to be in any arbitrary node, by making the following > changes: > > - Block jobs can now be identified by the node name of their > BlockDriverState in addition to th

[Qemu-block] [PATCH v9 05/11] block: allow block jobs in any arbitrary node

2016-04-04 Thread Alberto Garcia
Currently, block jobs can only be owned by root nodes. This patch allows block jobs to be in any arbitrary node, by making the following changes: - Block jobs can now be identified by the node name of their BlockDriverState in addition to the device name. Since both device and node names live