Re: [Qemu-devel] [PATCH 1/4] block: improve blk_root_get_parent_desc

2018-08-16 Thread Vladimir Sementsov-Ogievskiy
Hmm, now I think, that instead of this, it is better to use pointer as parent id for nod-bds parents, to be sure they will not intersect. And add special field to qapi block relation info "parent-description" for such parents. Also I'm afraid that this patch may break iotests.. 16.08.2018 20:2

[Qemu-devel] [PATCH 1/4] block: improve blk_root_get_parent_desc

2018-08-16 Thread Vladimir Sementsov-Ogievskiy
Make blk_root_get_parent_desc return different descriptions for different blk's in worst case. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/block-backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/block-backend.c b/block/block-backend.c index fa120630be.