[PULL,00/36] Bitmaps patches
mbox

Message ID 20190816231318.8650-1-jsnow@redhat.com
State New
Headers show

Pull-request

https://github.com/jnsnow/qemu.git tags/bitmaps-pull-request

Message

John Snow Aug. 16, 2019, 11:12 p.m. UTC
The following changes since commit afd760539308a5524accf964107cdb1d54a059e3:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190816' into staging (2019-08-16 17:21:40 +0100)

are available in the Git repository at:

  https://github.com/jnsnow/qemu.git tags/bitmaps-pull-request

for you to fetch changes up to a5f8a60b3eafd5563af48546d5d126d448e62ac5:

  tests/test-hbitmap: test next_zero and _next_dirty_area after truncate (2019-08-16 18:29:43 -0400)

----------------------------------------------------------------
Pull request

Rebase notes:

011/36:[0003] [FC] 'block/backup: upgrade copy_bitmap to BdrvDirtyBitmap'
016/36:[----] [-C] 'iotests: Add virtio-scsi device helper'
017/36:[0002] [FC] 'iotests: add test 257 for bitmap-mode backups'
030/36:[0011] [FC] 'block/backup: teach TOP to never copy unallocated regions'
032/36:[0018] [FC] 'iotests/257: test traditional sync modes'

11: A new hbitmap call was added late in 4.1, changed to
    bdrv_dirty_bitmap_next_zero.
16: Context-only (self.has_quit is new context in 040)
17: Removed 'auto' to follow upstream trends in iotest fashion
30: Handled explicitly on-list with R-B from Max.
32: Fix capitalization in test, as mentioned on-list.

----------------------------------------------------------------

John Snow (30):
  qapi/block-core: Introduce BackupCommon
  drive-backup: create do_backup_common
  blockdev-backup: utilize do_backup_common
  qapi: add BitmapSyncMode enum
  block/backup: Add mirror sync mode 'bitmap'
  block/backup: add 'never' policy to bitmap sync mode
  hbitmap: Fix merge when b is empty, and result is not an alias of a
  hbitmap: enable merging across granularities
  block/dirty-bitmap: add bdrv_dirty_bitmap_merge_internal
  block/dirty-bitmap: add bdrv_dirty_bitmap_get
  block/backup: upgrade copy_bitmap to BdrvDirtyBitmap
  block/backup: add 'always' bitmap sync policy
  iotests: add testing shim for script-style python tests
  iotests: teach run_job to cancel pending jobs
  iotests: teach FilePath to produce multiple paths
  iotests: Add virtio-scsi device helper
  iotests: add test 257 for bitmap-mode backups
  block/backup: loosen restriction on readonly bitmaps
  qapi: implement block-dirty-bitmap-remove transaction action
  iotests/257: add Pattern class
  iotests/257: add EmulatedBitmap class
  iotests/257: Refactor backup helpers
  block/backup: hoist bitmap check into QMP interface
  iotests/257: test API failures
  block/backup: improve sync=bitmap work estimates
  block/backup: centralize copy_bitmap initialization
  block/backup: add backup_is_cluster_allocated
  block/backup: teach TOP to never copy unallocated regions
  block/backup: support bitmap sync modes for non-bitmap backups
  iotests/257: test traditional sync modes

Vladimir Sementsov-Ogievskiy (6):
  blockdev: reduce aio_context locked sections in bitmap add/remove
  iotests: test bitmap moving inside 254
  qapi: add dirty-bitmaps to query-named-block-nodes result
  block/backup: deal with zero detection
  block/backup: refactor write_flags
  tests/test-hbitmap: test next_zero and _next_dirty_area after truncate

 block.c                        |    2 +-
 block/backup.c                 |  312 +-
 block/dirty-bitmap.c           |   88 +-
 block/mirror.c                 |    8 +-
 block/qapi.c                   |    5 +
 block/replication.c            |    2 +-
 block/trace-events             |    1 +
 blockdev.c                     |  353 ++-
 include/block/block_int.h      |    7 +-
 include/block/dirty-bitmap.h   |    6 +-
 migration/block-dirty-bitmap.c |    2 +-
 migration/block.c              |    5 +-
 nbd/server.c                   |    2 +-
 qapi/block-core.json           |  146 +-
 qapi/transaction.json          |    2 +
 qemu-deprecated.texi           |   12 +
 tests/qemu-iotests/040         |    6 +-
 tests/qemu-iotests/093         |    6 +-
 tests/qemu-iotests/139         |    7 +-
 tests/qemu-iotests/238         |    5 +-
 tests/qemu-iotests/254         |   30 +-
 tests/qemu-iotests/254.out     |   82 +
 tests/qemu-iotests/256.out     |    4 +-
 tests/qemu-iotests/257         |  560 ++++
 tests/qemu-iotests/257.out     | 5421 ++++++++++++++++++++++++++++++++
 tests/qemu-iotests/group       |    1 +
 tests/qemu-iotests/iotests.py  |  102 +-
 tests/test-hbitmap.c           |   22 +
 util/hbitmap.c                 |   49 +-
 29 files changed, 6843 insertions(+), 405 deletions(-)
 create mode 100755 tests/qemu-iotests/257
 create mode 100644 tests/qemu-iotests/257.out

Comments

Peter Maydell Aug. 19, 2019, 11:32 a.m. UTC | #1
On Sat, 17 Aug 2019 at 00:13, John Snow <jsnow@redhat.com> wrote:
>
> The following changes since commit afd760539308a5524accf964107cdb1d54a059e3:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190816' into staging (2019-08-16 17:21:40 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/jnsnow/qemu.git tags/bitmaps-pull-request
>
> for you to fetch changes up to a5f8a60b3eafd5563af48546d5d126d448e62ac5:
>
>   tests/test-hbitmap: test next_zero and _next_dirty_area after truncate (2019-08-16 18:29:43 -0400)
>
> ----------------------------------------------------------------
> Pull request
>
> Rebase notes:
>
> 011/36:[0003] [FC] 'block/backup: upgrade copy_bitmap to BdrvDirtyBitmap'
> 016/36:[----] [-C] 'iotests: Add virtio-scsi device helper'
> 017/36:[0002] [FC] 'iotests: add test 257 for bitmap-mode backups'
> 030/36:[0011] [FC] 'block/backup: teach TOP to never copy unallocated regions'
> 032/36:[0018] [FC] 'iotests/257: test traditional sync modes'
>
> 11: A new hbitmap call was added late in 4.1, changed to
>     bdrv_dirty_bitmap_next_zero.
> 16: Context-only (self.has_quit is new context in 040)
> 17: Removed 'auto' to follow upstream trends in iotest fashion
> 30: Handled explicitly on-list with R-B from Max.
> 32: Fix capitalization in test, as mentioned on-list.
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.

-- PMM