qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/20] parallels: Add full dirty bitmap support
@ 2023-10-19 12:58 Alexander Ivanov
  2023-10-19 12:58 ` [PATCH v2 01/20] parallels: Set s->used_bmap to NULL in parallels_free_used_bitmap() Alexander Ivanov
                   ` (19 more replies)
  0 siblings, 20 replies; 27+ messages in thread
From: Alexander Ivanov @ 2023-10-19 12:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block, den, stefanha, vsementsov, kwolf, hreitz

Parallels format driver:
* make some preparation
* add dirty bitmap saving
* make dirty bitmap RW
* fix broken checks
* refactor leak check
* add parallels format support to several tests

You could find these patches in my repo:
https://github.com/AlexanderIvanov-Virtuozzo/qemu/tree/parallels-v2

v2:
1: New patch to fix double free error.
4: Fixed clusters leaks.
15: Fixed (end_off != s->used_bmap_size) handling in parallels_truncate_unused_clusters().
16,17: Changed the sequence of the patches - in this way we have correct leaks check.

Alexander Ivanov (20):
  parallels: Set s->used_bmap to NULL in parallels_free_used_bitmap()
  parallels: Move inactivation code to a separate function
  parallels: Add mark_unused() helper
  parallels: Move host clusters allocation to a separate function
  parallels: Set data_end value in parallels_check_leak()
  parallels: Recreate used bitmap in parallels_check_leak()
  parallels: Add a note about used bitmap in parallels_check_duplicate()
  parallels: Create used bitmap even if checks needed
  parallels: Make mark_used() and mark_unused() global functions
  parallels: Add dirty bitmaps saving
  parallels: Let image extensions work in RW mode
  parallels: Handle L1 entries equal to one
  parallels: Make a loaded dirty bitmap persistent
  parallels: Reverse a conditional in parallels_check_leak() to reduce
    indents
  parallels: Truncate images on the last used cluster
  parallels: Check unused clusters in parallels_check_leak()
  parallels: Remove unnecessary data_end field
  tests: Add parallels images support to test 165
  tests: Turned on 256, 299, 304 and block-status-cache for parallels
    format
  tests: Add parallels format support to image-fleecing

 block/parallels-ext.c                       | 182 +++++++++-
 block/parallels.c                           | 361 ++++++++++++--------
 block/parallels.h                           |  15 +-
 tests/qemu-iotests/165                      |  40 ++-
 tests/qemu-iotests/256                      |   2 +-
 tests/qemu-iotests/299                      |   2 +-
 tests/qemu-iotests/304                      |   2 +-
 tests/qemu-iotests/tests/block-status-cache |   2 +-
 tests/qemu-iotests/tests/image-fleecing     |  13 +-
 9 files changed, 447 insertions(+), 172 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2023-10-24 10:35 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-19 12:58 [PATCH v2 00/20] parallels: Add full dirty bitmap support Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 01/20] parallels: Set s->used_bmap to NULL in parallels_free_used_bitmap() Alexander Ivanov
2023-10-21 10:40   ` Mike Maslenkin
2023-10-24 10:29     ` Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 02/20] parallels: Move inactivation code to a separate function Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 03/20] parallels: Add mark_unused() helper Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 04/20] parallels: Move host clusters allocation to a separate function Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 05/20] parallels: Set data_end value in parallels_check_leak() Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 06/20] parallels: Recreate used bitmap " Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 07/20] parallels: Add a note about used bitmap in parallels_check_duplicate() Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 08/20] parallels: Create used bitmap even if checks needed Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 09/20] parallels: Make mark_used() and mark_unused() global functions Alexander Ivanov
2023-10-21 13:29   ` Mike Maslenkin
2023-10-24 10:31     ` Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 10/20] parallels: Add dirty bitmaps saving Alexander Ivanov
2023-10-21 10:40   ` Mike Maslenkin
2023-10-23 10:03     ` Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 11/20] parallels: Let image extensions work in RW mode Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 12/20] parallels: Handle L1 entries equal to one Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 13/20] parallels: Make a loaded dirty bitmap persistent Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 14/20] parallels: Reverse a conditional in parallels_check_leak() to reduce indents Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 15/20] parallels: Truncate images on the last used cluster Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 16/20] parallels: Check unused clusters in parallels_check_leak() Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 17/20] parallels: Remove unnecessary data_end field Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 18/20] tests: Add parallels images support to test 165 Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 19/20] tests: Turned on 256, 299, 304 and block-status-cache for parallels format Alexander Ivanov
2023-10-19 12:58 ` [PATCH v2 20/20] tests: Add parallels format support to image-fleecing Alexander Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).