Vladimir Sementsov-Ogievskiy
2272edcfff
block: adapt bdrv_append() for inserting filters
...
bdrv_append is not very good for inserting filters: it does extra
permission update as part of bdrv_set_backing_hd(). During this update
filter may conflict with other parents of top_bs.
Instead, let's first do all graph modifications and after it update
permissions.
append-greedy-filter test-case in test-bdrv-graph-mod is now works, so
move it out of debug option.
Note: bdrv_append() is still only works for backing-child based
filters. It's something to improve later.
Note2: we use the fact that bdrv_append() is used to append new nodes,
without backing child, so we don't need frozen check and inherits_from
logic from bdrv_set_backing_hd().
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210428151804.439460-22-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2021-04-30 12:27:48 +02:00
..
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-19 10:18:17 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-04-01 15:27:44 +04:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-04-30 12:27:47 +02:00
2021-04-30 12:27:48 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-20 06:17:09 +01:00
2021-03-12 15:46:30 +01:00
2021-04-09 18:00:29 +02:00
2021-03-12 15:46:30 +01:00
2021-03-19 10:18:06 +01:00
2021-03-12 15:46:30 +01:00
2021-03-31 10:44:21 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-24 14:25:41 +00:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-14 15:13:53 +00:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-14 15:13:53 +00:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-23 22:31:05 +01:00
2021-03-23 22:31:05 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-19 16:05:11 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-04-01 15:27:44 +04:00