Re: [Qemu-devel] [PATCH v3 05/19] block: make bdrv_co_is_allocated static

2013-07-29 Thread Paolo Bonzini
Il 29/07/2013 15:21, Kevin Wolf ha scritto: > Am 25.07.2013 um 16:23 hat Paolo Bonzini geschrieben: >> bdrv_is_allocated can detect coroutine context and go through a fast >> path, similar to other block layer functions. >> >> Reviewed-by: Eric Blake >> Signed-off-by: Paolo Bonzini > > It can, b

Re: [Qemu-devel] [PATCH v3 05/19] block: make bdrv_co_is_allocated static

2013-07-29 Thread Kevin Wolf
Am 25.07.2013 um 16:23 hat Paolo Bonzini geschrieben: > bdrv_is_allocated can detect coroutine context and go through a fast > path, similar to other block layer functions. > > Reviewed-by: Eric Blake > Signed-off-by: Paolo Bonzini It can, but why is this a good idea? The other block layer fun

[Qemu-devel] [PATCH v3 05/19] block: make bdrv_co_is_allocated static

2013-07-25 Thread Paolo Bonzini
bdrv_is_allocated can detect coroutine context and go through a fast path, similar to other block layer functions. Reviewed-by: Eric Blake Signed-off-by: Paolo Bonzini --- block.c | 24 +++- block/raw.c | 2 +- block/stream.c| 4 ++-- includ