block: permission update fix & refactor
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest7 patches 12 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | block: add forgotten bdrv_abort_perm_update() to bdrv_co_invalidate_cache()block.c | +1 | 1 reply | |
| 2/7 | block: add bdrv_replace_node_common()block.c | +22 | 1 reply | |
| 3/7 | block: make bdrv_drop_intermediate() less wrongblock.c | +24 | 1 reply | |
| 4/7 | block: add bdrv_refresh_perms() helperblock.c | +30 | 3 replies | |
| 5/7 | block: bdrv_set_perm() drop redundant parameters.block.c | +15 | 2 replies | |
| 6/7 | block: bdrv_child_set_perm() drop redundant parameters.block.c | +4 | 1 reply | |
| 7/7 | block: drop tighten_restrictionsblock.c | +17 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Alberto Garcia | Max Reitz |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | ||
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] block: permission update fix & refactor
Hi all!
These series supersedes "Fix nested permission update" and includes one more fix (patch 01) and more improvements.
I think patch 01 is good to have in 5.2, 02 is probably OK for 5.2 and the others are OK for next release. Still all may be taken to 5.2, up to block maintainers.
Actually the series is a first part of my work announced in
https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg08386.html
to bring correct order to permission update (topological sort), update permission only on updated graph (and rollback graph changes), get rid of .active fields in block jobs.
Supersedes: <[email protected]>
v2: all new except for 03:, which uses suggestions by Albert and more strict version of bdrv_replace_node.
Vladimir Sementsov-Ogievskiy (7):
block: add forgotten bdrv_abort_perm_update() to
bdrv_co_invalidate_cache()
block: add bdrv_replace_node_common()
block: make bdrv_drop_intermediate() less wrong
block: add bdrv_refresh_perms() helper
block: bdrv_set_perm() drop redundant parameters.
block: bdrv_child_set_perm() drop redundant parameters.
block: drop tighten_restrictions
block.c | 256 +++++++++++++++++++++++--------------------------------- 1 file changed, 105 insertions(+), 151 deletions(-)
Signature · 1 line
2.21.3