proper locking on bitmap add/remove paths
Status from this message: Thanks, applied to my bitmaps tree:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 5 repliesApplied
- v23 patches 4 repliesSuperseded
- v13 patches 3 repliesSuperseded
Changes in v3 from the cover letter
01: add John's r-b
02: - fix bdrv_remove_persistent_dirty_bitmap return value
- drop extra zeroing of ret in qcow2_remove_persistent_dirty_bitmap
03: add John's r-b
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: move bdrv_can_store_new_dirty_bitmap to block/dirty-bitmap.cblock.c block/ | +22 | 0 replies | |
| 2/3 | block/dirty-bitmap: return int from bdrv_remove_persistent_dirty_bitmapblock/ block/ block/ +3 more | +25 | 1 reply | |
| 3/3 | block/qcow2: proper locking on bitmap add/remove pathsblock/ block/ block/ +3 more | +131 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | John Snow |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] proper locking on bitmap add/remove paths
Hi all!
We need to lock qcow2 mutex on accessing in-image metadata, especially on updating this metadata. Let's implement it.
v3:
01: add John's r-b
02: - fix bdrv_remove_persistent_dirty_bitmap return value
- drop extra zeroing of ret in qcow2_remove_persistent_dirty_bitmap
03: add John's r-b
Vladimir Sementsov-Ogievskiy (3):
block: move bdrv_can_store_new_dirty_bitmap to block/dirty-bitmap.c block/dirty-bitmap: return int from
bdrv_remove_persistent_dirty_bitmap
block/qcow2: proper locking on bitmap add/remove paths
block/qcow2.h | 14 ++--- include/block/block_int.h | 14 ++--- include/block/dirty-bitmap.h | 5 +- block.c | 22 ------- block/dirty-bitmap.c | 119 +++++++++++++++++++++++++++++++++-- block/qcow2-bitmap.c | 36 +++++++---- block/qcow2.c | 5 +- blockdev.c | 28 +++------ 8 files changed, 163 insertions(+), 80 deletions(-)
Signature · 1 line
2.21.0