Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
commit0d514fa23402ab7b4f1c965e0631d953bbe4d3b7
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Jun 2018 17:34:04 +0000 (4 18:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Jun 2018 17:34:04 +0000 (4 18:34 +0100)
tree15694d41fba306b5b8e545d9a6e15bb199c64b25
parent5d7ad3ce103af3ab7c860a4ca97653f8ffa6e29c
parent21891a5a3011608845b5d7f1f9cce60cdc2bcc62
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

Pull request

 * Copy offloading for qemu-img convert (iSCSI, raw, and qcow2)

   If the underlying storage supports copy offloading, qemu-img convert will
   use it instead of performing reads and writes.  This avoids data transfers
   and thus frees up storage bandwidth for other purposes.  SCSI EXTENDED COPY
   and Linux copy_file_range(2) are used to implement this optimization.

 * Drop spurious "WARNING: I\/O thread spun for 1000 iterations" warning

# gpg: Signature made Mon 04 Jun 2018 12:20:08 BST
# gpg:                using RSA key 9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/block-pull-request:
  main-loop: drop spin_counter
  qemu-img: Convert with copy offloading
  block-backend: Add blk_co_copy_range
  iscsi: Implement copy offloading
  iscsi: Create and use iscsi_co_wait_for_task
  iscsi: Query and save device designator when opening
  file-posix: Implement bdrv_co_copy_range
  qcow2: Implement copy offloading
  raw: Implement copy offloading
  raw: Check byte range uniformly
  block: Introduce API for copy offloading

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
block/qcow2.c
configure