qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 92bcea: block/dirty-bitmap: add bdrv_enable_d


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 92bcea: block/dirty-bitmap: add bdrv_enable_dirty_bitmap_l...
Date: Thu, 05 Jul 2018 06:25:01 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 92bcea40d3aac62853e60426bd109b748d4d1cd2
      
https://github.com/qemu/qemu/commit/92bcea40d3aac62853e60426bd109b748d4d1cd2
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M block/dirty-bitmap.c
    M include/block/dirty-bitmap.h

  Log Message:
  -----------
  block/dirty-bitmap: add bdrv_enable_dirty_bitmap_locked

Add _locked version of bdrv_enable_dirty_bitmap, to fix dirty bitmap
migration in the following patch.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>


  Commit: 58f72b965e9e1820d246329461216c4d13140122
      
https://github.com/qemu/qemu/commit/58f72b965e9e1820d246329461216c4d13140122
  Author: Vladimir Sementsov-Ogievskiy <address@hidden>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M block/dirty-bitmap.c
    M migration/block-dirty-bitmap.c

  Log Message:
  -----------
  dirty-bitmap: fix double lock on bitmap enabling

Bitmap lock/unlock were added to bdrv_enable_dirty_bitmap in
8b1402ce80d, but some places were not updated correspondingly, which
leads to trying to take this lock twice, which is dead-lock. Fix this.

Actually, iotest 199 (about dirty bitmap postcopy migration) is broken
now, and this fixes it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>


  Commit: 6cf495be0b445789eeb7e88a6015c8cf74d4c1cf
      
https://github.com/qemu/qemu/commit/6cf495be0b445789eeb7e88a6015c8cf74d4c1cf
  Author: Peter Maydell <address@hidden>
  Date:   2018-07-05 (Thu, 05 Jul 2018)

  Changed paths:
    M block/dirty-bitmap.c
    M include/block/dirty-bitmap.h
    M migration/block-dirty-bitmap.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into 
staging

Pull request

# gpg: Signature made Wed 04 Jul 2018 07:33:42 BST
# gpg:                using RSA key 7DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <address@hidden>"
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* remotes/jnsnow/tags/bitmaps-pull-request:
  dirty-bitmap: fix double lock on bitmap enabling
  block/dirty-bitmap: add bdrv_enable_dirty_bitmap_locked

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/4fd1cbaf146d...6cf495be0b44
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]