Re: [PATCH v3 3/4] replication: Properly attach children

2021-07-09 Thread Vladimir Sementsov-Ogievskiy
07.07.2021 21:15, Lukas Straub wrote: The replication driver needs access to the children block-nodes of it's child so it can issue bdrv_make_empty() and bdrv_co_pwritev() to manage the replication. However, it does this by directly copying the BdrvChilds, which is wrong. Fix this by properly at

[PATCH v3 3/4] replication: Properly attach children

2021-07-07 Thread Lukas Straub
The replication driver needs access to the children block-nodes of it's child so it can issue bdrv_make_empty() and bdrv_co_pwritev() to manage the replication. However, it does this by directly copying the BdrvChilds, which is wrong. Fix this by properly attaching the block-nodes with bdrv_attach