Re: [PATCH v2 19/36] block: fix bdrv_replace_node_common

2021-02-03 Thread Vladimir Sementsov-Ogievskiy
03.02.2021 21:23, Kevin Wolf wrote: Am 27.11.2020 um 15:45 hat Vladimir Sementsov-Ogievskiy geschrieben: inore_children thing doesn't help to track all propagated permissions of children we want to ignore. The simplest way to correctly update permissions is update graph first and then do

Re: [PATCH v2 19/36] block: fix bdrv_replace_node_common

2021-02-03 Thread Kevin Wolf
Am 27.11.2020 um 15:45 hat Vladimir Sementsov-Ogievskiy geschrieben: > inore_children thing doesn't help to track all propagated permissions > of children we want to ignore. The simplest way to correctly update > permissions is update graph first and then do permission update. In > this case we

[PATCH v2 19/36] block: fix bdrv_replace_node_common

2020-11-27 Thread Vladimir Sementsov-Ogievskiy
inore_children thing doesn't help to track all propagated permissions of children we want to ignore. The simplest way to correctly update permissions is update graph first and then do permission update. In this case we just referesh permissions for the whole subgraph (in topological-sort defined