All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v13 00/20] block: Image locking series
@ 2017-04-20  7:52 Fam Zheng
  2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 01/20] block: Introduce BDRV_O_UNSAFE_READ Fam Zheng
                   ` (22 more replies)
  0 siblings, 23 replies; 35+ messages in thread
From: Fam Zheng @ 2017-04-20  7:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: eblake, Kevin Wolf, Max Reitz, qemu-block

v13: - Address Max's comments.
     - Add reviewed-by from Max and Eric.
     - Rebase for 2.10:
       * Use op blocker API
       * Add --unsafe-read for qemu-img and qemu-io

Fam Zheng (20):
  block: Introduce BDRV_O_UNSAFE_READ
  block: Drop consistent read perm if opened unsafe
  block: Don't require BLK_PERM_CONSISTENT_READ when unsafe open
  qemu-img: Add --unsafe-read option to subcommands
  qemu-img: Update documentation for --unsafe-read
  qemu-io: Add --unsafe-read option
  iotests: 030: Prepare for image locking
  iotests: 046: Prepare for image locking
  iotests: 055: Don't attach the target image already for drive-backup
  iotests: 085: Avoid image locking conflict
  iotests: 087: Don't attach test image twice
  iotests: 091: Quit QEMU before checking image
  iotests: 172: Use separate images for multiple devices
  tests: Use null-co:// instead of /dev/null as the dummy image
  file-posix: Add 'locking' option
  tests: Disable image lock in test-replication
  block: Workaround drive-backup sync=none for image locking
  osdep: Add qemu_lock_fd and qemu_unlock_fd
  file-posix: Add image locking in perm operations
  tests: Add test-image-lock

 block.c                    |  16 +-
 block/block-backend.c      |   2 +-
 block/file-posix.c         | 749 ++++++++++++++++++++++++++++++++++++++++++++-
 blockdev.c                 |   3 +
 include/block/block.h      |   1 +
 include/qemu/osdep.h       |   3 +
 qemu-img-cmds.hx           |  48 +--
 qemu-img.c                 | 148 +++++++--
 qemu-io.c                  |  31 +-
 tests/Makefile.include     |   2 +
 tests/drive_del-test.c     |   2 +-
 tests/nvme-test.c          |   2 +-
 tests/qemu-iotests/030     |  24 +-
 tests/qemu-iotests/046     |   2 +-
 tests/qemu-iotests/055     |  32 +-
 tests/qemu-iotests/085     |  34 +-
 tests/qemu-iotests/085.out |   3 +-
 tests/qemu-iotests/087     |   6 +-
 tests/qemu-iotests/091     |   2 +
 tests/qemu-iotests/172     |  55 ++--
 tests/qemu-iotests/172.out |  50 +--
 tests/test-image-lock.c    | 259 ++++++++++++++++
 tests/test-replication.c   |   9 +-
 tests/usb-hcd-uhci-test.c  |   2 +-
 tests/usb-hcd-xhci-test.c  |   2 +-
 tests/virtio-blk-test.c    |   2 +-
 tests/virtio-scsi-test.c   |   4 +-
 util/osdep.c               |  48 +++
 28 files changed, 1363 insertions(+), 178 deletions(-)
 create mode 100644 tests/test-image-lock.c

-- 
2.9.3

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

end of thread, other threads:[~2017-04-20 11:26 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-20  7:52 [Qemu-devel] [PATCH v13 00/20] block: Image locking series Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 01/20] block: Introduce BDRV_O_UNSAFE_READ Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 02/20] block: Drop consistent read perm if opened unsafe Fam Zheng
2017-04-20 10:58   ` Kevin Wolf
2017-04-20 11:19     ` Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 03/20] block: Don't require BLK_PERM_CONSISTENT_READ when unsafe open Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 04/20] qemu-img: Add --unsafe-read option to subcommands Fam Zheng
2017-04-20 10:20   ` Kevin Wolf
2017-04-20 10:31     ` Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 05/20] qemu-img: Update documentation for --unsafe-read Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 06/20] qemu-io: Add --unsafe-read option Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 07/20] iotests: 030: Prepare for image locking Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 08/20] iotests: 046: " Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 09/20] iotests: 055: Don't attach the target image already for drive-backup Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 10/20] iotests: 085: Avoid image locking conflict Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 11/20] iotests: 087: Don't attach test image twice Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 12/20] iotests: 091: Quit QEMU before checking image Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 13/20] iotests: 172: Use separate images for multiple devices Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 14/20] tests: Use null-co:// instead of /dev/null as the dummy image Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 15/20] file-posix: Add 'locking' option Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 16/20] tests: Disable image lock in test-replication Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 17/20] block: Workaround drive-backup sync=none for image locking Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 18/20] osdep: Add qemu_lock_fd and qemu_unlock_fd Fam Zheng
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 19/20] file-posix: Add image locking in perm operations Fam Zheng
2017-04-20  9:42   ` Fam Zheng
2017-04-20 11:26   ` Kevin Wolf
2017-04-20  7:52 ` [Qemu-devel] [PATCH v13 20/20] tests: Add test-image-lock Fam Zheng
2017-04-20  8:11 ` [Qemu-devel] [PATCH v13 00/20] block: Image locking series no-reply
2017-04-20  8:32   ` Fam Zheng
2017-04-20 10:03     ` Kevin Wolf
2017-04-20 10:13       ` Fam Zheng
2017-04-20  8:39 ` no-reply
2017-04-20  9:37   ` Fam Zheng
2017-04-20  8:40 ` no-reply
2017-04-20  8:49   ` Fam Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.