qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 176c36: mirror: Quiesce source during "mirror


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 176c36: mirror: Quiesce source during "mirror_exit"
Date: Wed, 02 Dec 2015 09:30:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 176c36997fd4a94a7b919468d8967e0ad81fdf9c
      
https://github.com/qemu/qemu/commit/176c36997fd4a94a7b919468d8967e0ad81fdf9c
  Author: Fam Zheng <address@hidden>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M block/mirror.c

  Log Message:
  -----------
  mirror: Quiesce source during "mirror_exit"

With dataplane, the ioeventfd events could be dispatched after
mirror_run releases the dirty bitmap, but before mirror_exit actually
does the device switch, because the iothread will still be running, and
it will cause silent data loss.

Fix this by adding a bdrv_drained_begin/end pair around the window, so
that no new external request will be handled.

Signed-off-by: Fam Zheng <address@hidden>
Signed-off-by: Jeff Cody <address@hidden>


  Commit: 2196b6f5dd5a07ed95d51f0d5f2f3fb20a076b13
      
https://github.com/qemu/qemu/commit/2196b6f5dd5a07ed95d51f0d5f2f3fb20a076b13
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M block/mirror.c

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

# gpg: Signature made Wed 02 Dec 2015 15:45:36 GMT using RSA key ID C0DE3057
# gpg: Good signature from "Jeffrey Cody <address@hidden>"
# gpg:                 aka "Jeffrey Cody <address@hidden>"
# gpg:                 aka "Jeffrey Cody <address@hidden>"

* remotes/cody/tags/block-pull-request:
  mirror: Quiesce source during "mirror_exit"

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


Compare: https://github.com/qemu/qemu/compare/30a9fd5d13b0...2196b6f5dd5a

reply via email to

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