]> git.proxmox.com Git - pve-qemu-kvm.git/commitdiff
vma: don't use O_DIRECT on pipes
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 30 Mar 2017 14:06:44 +0000 (16:06 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 30 Mar 2017 14:06:44 +0000 (16:06 +0200)
49 files changed:
debian/patches/pve/0001-fr-ca-keymap-corrections.patch
debian/patches/pve/0002-Adjust-network-script-path-to-etc-kvm.patch
debian/patches/pve/0003-vnc-altgr-emulation.patch
debian/patches/pve/0004-qemu-img-return-success-on-info-without-snapshots.patch
debian/patches/pve/0005-use-kvm-by-default.patch
debian/patches/pve/0006-virtio-balloon-fix-query.patch
debian/patches/pve/0007-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
debian/patches/pve/0008-qapi-modify-query-machines.patch
debian/patches/pve/0009-qapi-modify-spice-query.patch
debian/patches/pve/0010-ui-spice-default-to-pve-certs-unless-otherwise-speci.patch
debian/patches/pve/0011-introduce-new-vma-archive-format.patch
debian/patches/pve/0012-vma-add-verify-command.patch
debian/patches/pve/0013-vma-add-config-command-to-dump-the-config.patch
debian/patches/pve/0014-backup-modify-job-api.patch
debian/patches/pve/0015-backup-add-pve-monitor-commands.patch
debian/patches/pve/0016-backup-vma-add-dir-format.patch
debian/patches/pve/0017-backup-do-not-return-errors-in-dump-callback.patch
debian/patches/pve/0018-backup-vma-correctly-propagate-error.patch
debian/patches/pve/0019-backup-vma-remove-async-queue.patch
debian/patches/pve/0020-backup-vma-run-flush-inside-coroutine.patch
debian/patches/pve/0021-backup-do-not-use-bdrv_drain_all.patch
debian/patches/pve/0022-internal-snapshot-async.patch
debian/patches/pve/0023-backup-vma-allow-empty-backups.patch
debian/patches/pve/0024-qmp-add-get_link_status.patch
debian/patches/pve/0025-smm_available-false.patch
debian/patches/pve/0026-use-whitespace-between-VERSION-and-PKGVERSION.patch
debian/patches/pve/0027-vma-add-firewall.patch
debian/patches/pve/0028-savevm-async-migration-and-bdrv_open-update.patch
debian/patches/pve/0029-vnc-make-x509-imply-tls-again.patch
debian/patches/pve/0030-PVE-VNC-authentication.patch
debian/patches/pve/0031-vma-writer-don-t-bail-out-on-zero-length-files.patch
debian/patches/pve/0032-vma-better-driver-guessing-for-bdrv_open.patch
debian/patches/pve/0033-block-add-the-zeroinit-block-driver-filter.patch
debian/patches/pve/0034-vma-add-format-option-to-device-mapping.patch
debian/patches/pve/0035-fix-possible-unitialised-return-value.patch
debian/patches/pve/0036-vnc-refactor-to-QIOChannelSocket.patch
debian/patches/pve/0037-vma-use-BlockBackend-on-extract.patch
debian/patches/pve/0038-vma-byte-based-write-calls.patch
debian/patches/pve/0039-rbd-disable-rbd_cache_writethrough_until_flush-with-.patch
debian/patches/pve/0040-enable-cache-unsafe-for-vma-extract_content-and-qmp_.patch
debian/patches/pve/0041-savevm-async-updates.patch
debian/patches/pve/0042-qmp_snapshot_drive-add-aiocontext.patch
debian/patches/pve/0043-vma-sizes-passed-to-blk_co_preadv-should-be-bytes-no.patch
debian/patches/pve/0044-glusterfs-no-default-logfile-if-daemonized.patch
debian/patches/pve/0045-qmp_delete_drive_snapshot-add-aiocontext.patch
debian/patches/pve/0046-convert-savevm-async-to-threads.patch
debian/patches/pve/0047-glusterfs-allow-partial-reads.patch
debian/patches/pve/0048-vma-don-t-use-O_DIRECT-on-pipes.patch [new file with mode: 0644]
debian/patches/series

index 7f3efbf8a47d634e7bf726ac7c4dd6b0de4524bb..dc72688e4d30c81402a0ed886b530b33b0bff770 100644 (file)
@@ -1,7 +1,7 @@
 From 45b6688a45611bb5818e1b6aa7313c91797aa003 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:15:49 +0100
-Subject: [PATCH 01/47] fr-ca keymap corrections
+Subject: [PATCH 01/48] fr-ca keymap corrections
 
 ---
  pc-bios/keymaps/fr-ca | 9 +++++++++
index 8c7c7afd8a31ac3e5e2c518447d9da93eabff6d1..b9e79c37e3b015eb7d9e0c342fe32062a0329b94 100644 (file)
@@ -1,7 +1,7 @@
 From 392fb50a1c43b47acffb1073a458703da93dfdd8 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:16:49 +0100
-Subject: [PATCH 02/47] Adjust network script path to /etc/kvm/
+Subject: [PATCH 02/48] Adjust network script path to /etc/kvm/
 
 ---
  include/net/net.h | 5 +++--
index 849fa1c6fa2cda2a329515b59b9673111446d765..d43ad3941ff70e286a093302a6ed40a683dee958 100644 (file)
@@ -1,7 +1,7 @@
 From f3e33fe70da6f9361bd940d2b029d293a71408ca Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:17:38 +0100
-Subject: [PATCH 03/47] vnc: altgr emulation
+Subject: [PATCH 03/48] vnc: altgr emulation
 
 ---
  ui/vnc.c | 26 +++++++++++++++++++++++++-
index 4db31aaa09c5a68d9185d357783dd2003a508127..77e2dceee80d5a2cf64159ee56cf177c0f685375 100644 (file)
@@ -1,7 +1,7 @@
 From adea2808e62d32a9b22bbe3d16c84c92289983a8 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:18:46 +0100
-Subject: [PATCH 04/47] qemu-img: return success on info without snapshots
+Subject: [PATCH 04/48] qemu-img: return success on info without snapshots
 
 ---
  qemu-img.c | 3 ++-
index 318ef758f1237aaf31e2b18251d682eebc616961..0508587053476b98672a01ce31085d349cabf609 100644 (file)
@@ -1,7 +1,7 @@
 From bd3aa97864804b5b37421f199b9fe64e3b16b52c Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:27:05 +0100
-Subject: [PATCH 05/47] use kvm by default
+Subject: [PATCH 05/48] use kvm by default
 
 ---
  accel.c | 4 ++--
index 16a1e7d97fef7b7555eca662622f7500b5114927..8a430b40da6b0eb4e4edb94eaec8e90a4ff1e7d6 100644 (file)
@@ -1,7 +1,7 @@
 From 5921bc0360f6964a5bb5355c2707c806425f4734 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:27:49 +0100
-Subject: [PATCH 06/47] virtio-balloon: fix query
+Subject: [PATCH 06/48] virtio-balloon: fix query
 
 Actually provide memory information via the query-balloon
 command.
index 1a27c029427b5d6ccdec35cf9368817ace92e159..8bc87ced397f01acbcd157821b89c5235fea6119 100644 (file)
@@ -1,7 +1,7 @@
 From bc04d6e5e09d517a9c8833fd407a655be3cf21fe Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:30:21 +0100
-Subject: [PATCH 07/47] set the CPU model to kvm64/32 instead of qemu64/32
+Subject: [PATCH 07/48] set the CPU model to kvm64/32 instead of qemu64/32
 
 ---
  hw/i386/pc.c | 4 ++--
index 1e04a69ce1cb270c3896e798bff9efccc04d5d06..f2447947f5f8960650f1a6dca25ec8a74b2a727e 100644 (file)
@@ -1,7 +1,7 @@
 From e453e9a98f7f0c2a213fe5bee04ece37ce10e625 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:31:18 +0100
-Subject: [PATCH 08/47] qapi: modify query machines
+Subject: [PATCH 08/48] qapi: modify query machines
 
 provide '*is-current' in MachineInfo struct
 ---
index 389a2f4b818bb99c927957546d21949a799dc124..50e3306c12d8487a1a8309ec691e3aafc1d887da 100644 (file)
@@ -1,7 +1,7 @@
 From c51f39a5741210b7df2ac212a8ced14ef950d415 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:32:11 +0100
-Subject: [PATCH 09/47] qapi: modify spice query
+Subject: [PATCH 09/48] qapi: modify spice query
 
 Provide the last ticket in the SpiceInfo struct optionally.
 ---
index b91a7376870f1e5e4de43a445d15144d01d1d68a..1be891a3b80833a9ba270f0145d32901adec4f06 100644 (file)
@@ -1,7 +1,7 @@
 From 1434b9fad738e852f789cd8b951f2f4e1e08d3e5 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:33:34 +0100
-Subject: [PATCH 10/47] ui/spice: default to pve certs unless otherwise
+Subject: [PATCH 10/48] ui/spice: default to pve certs unless otherwise
  specified
 
 ---
index 92523a3de58fb8f1516b83d717080b58ffa10e79..124889b87c65206cd72f193080cdf5e125c171f3 100644 (file)
@@ -1,7 +1,7 @@
 From c1338b34ccac2c5e6d7d1aca3ca3e3457a3f744c Mon Sep 17 00:00:00 2001
 From: Dietmar Maurer <dietmar@proxmox.com>
 Date: Tue, 13 Nov 2012 11:11:38 +0100
-Subject: [PATCH 11/47] introduce new vma archive format
+Subject: [PATCH 11/48] introduce new vma archive format
 
 This is a very simple archive format, see docs/specs/vma_spec.txt
 
index 02739bbafd5dc0d534cba039caffc71a9e09697f..46234ea26131fe1e615efeb02ec8241534c7cb45 100644 (file)
@@ -1,7 +1,7 @@
 From f6a9d9269a4f07eb7b2161884dde52a65f58c9f6 Mon Sep 17 00:00:00 2001
 From: Dietmar Maurer <dietmar@proxmox.com>
 Date: Mon, 11 Mar 2013 07:07:46 +0100
-Subject: [PATCH 12/47] vma: add verify command
+Subject: [PATCH 12/48] vma: add verify command
 
 Users wants to verify the archive after backup.
 
index f8518bc6730d64804d5b2538d4016b0c1493ecfa..06334f0e951fcc4063a9fd8c46c5e3feaa86289a 100644 (file)
@@ -1,7 +1,7 @@
 From cfc9d20b832a3db40b4e61fa6af0fbcda911ec2e Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:46:49 +0100
-Subject: [PATCH 13/47] vma: add 'config' command to dump the config
+Subject: [PATCH 13/48] vma: add 'config' command to dump the config
 
 ---
  vma.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
index 53975e66c6e0f9eafc0aeaef131f068af1e456af..4ec816b3f17868a63b2f3827ea9a0bb9cdb7ef0a 100644 (file)
@@ -1,7 +1,7 @@
 From c46139b295f9edffd43a12e7f029fce4f9b2ea46 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:04:57 +0100
-Subject: [PATCH 14/47] backup: modify job api
+Subject: [PATCH 14/48] backup: modify job api
 
 Introduces a BackupDump function callback and a pause_count
 for backup_start. For a dump-backup the target parameter
index 874d6ce733ab600e50a43ff1867ab7fcbfe144c6..7c00193a4364007d2af31b11f714d9bec0010228 100644 (file)
@@ -1,7 +1,7 @@
 From d48092bb9901112b3356aa8d461c45ffb4ec2b9a Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:20:56 +0100
-Subject: [PATCH 15/47] backup: add pve monitor commands
+Subject: [PATCH 15/48] backup: add pve monitor commands
 
 ---
  blockdev.c                | 465 ++++++++++++++++++++++++++++++++++++++++++++++
index 232e9f813308df3e19dbafa74bd845e25ff2da4d..3d36d5ff2d1b3a7765c247887df82dc187be9240 100644 (file)
@@ -1,7 +1,7 @@
 From 99a526d92531d64ff0c31a83d0d55f38651a32a5 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:21:54 +0100
-Subject: [PATCH 16/47] backup: vma: add dir format
+Subject: [PATCH 16/48] backup: vma: add dir format
 
 ---
  blockdev.c       | 137 ++++++++++++++++++++++++++++++++++++++++---------------
index d9f44f57af60354a9d0a6a2bf9e1ad990b462f80..031d605ee94f0a5131c3abeda8ae5eef23cb783c 100644 (file)
@@ -1,7 +1,7 @@
 From f859377de12e2faa46046b266ce4418c138e61ab Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:22:19 +0100
-Subject: [PATCH 17/47] backup: do not return errors in dump callback
+Subject: [PATCH 17/48] backup: do not return errors in dump callback
 
 ---
  blockdev.c | 26 ++++++++++++++++++++------
index 4895eb088645a11ecd7cdbcd8b2f9888848bbb44..437cbfa127ce89782abe1f05ccf7543cbcd1a5f9 100644 (file)
@@ -1,7 +1,7 @@
 From 17b2fc7ed399325558b891e13e104214568fd154 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:39:36 +0100
-Subject: [PATCH 18/47] backup: vma: correctly propagate error
+Subject: [PATCH 18/48] backup: vma: correctly propagate error
 
 ---
  blockdev.c   | 2 +-
index 066f1b1fe56f0dc9741d3b1a822e720ea41ab4ea..c691e9eb811eb56da0156de7391103c8ca0f8539 100644 (file)
@@ -1,7 +1,7 @@
 From bf0b444a62df49c016eb47f0299e5656d830234e Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:40:00 +0100
-Subject: [PATCH 19/47] backup: vma: remove async queue
+Subject: [PATCH 19/48] backup: vma: remove async queue
 
 ---
  blockdev.c   |   6 ++
index 7baafcc722a0cfb381a93ef3a2423382548e3457..d00f07b510563ca1be43bb5b580b8d62dbe895a8 100644 (file)
@@ -1,7 +1,7 @@
 From c0b66c21bb4d4cc1f02d4259d62dd8d6d413fd7f Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:40:42 +0100
-Subject: [PATCH 20/47] backup: vma: run flush inside coroutine
+Subject: [PATCH 20/48] backup: vma: run flush inside coroutine
 
 ---
  blockdev.c   | 10 +++++++++-
index 2253eb17e00a243eb95f6a2d4eb58c709216f56c..58c7c59ac4510abf0f38205fb03fd4dac66cfa95 100644 (file)
@@ -1,7 +1,7 @@
 From 4de872af5f176bbcc0d2f19b9fd30a7cefbddd9a Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:41:13 +0100
-Subject: [PATCH 21/47] backup: do not use bdrv_drain_all
+Subject: [PATCH 21/48] backup: do not use bdrv_drain_all
 
 ---
  blockdev.c | 6 +-----
index 5300e7e9d1dbec8d6710cc6cb1e3bdf5a5cce6b1..f20e24e912f1118c5c2cf9aa65fc5c39a0ee88b8 100644 (file)
@@ -1,7 +1,7 @@
 From ab6904d8e0f3a976ade19e8b5f99270738ed6518 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:04:32 +0100
-Subject: [PATCH 22/47] internal snapshot async
+Subject: [PATCH 22/48] internal snapshot async
 
 ---
  Makefile.objs           |   1 +
index 556cae5611314e52bb1b8ddd8b60fbfb4fc3769f..9ca91f5cd93e13e3aebb09a5ceb3701f005c859e 100644 (file)
@@ -1,7 +1,7 @@
 From b5ac1badd1810f87aae5091f44bee54e3c45e979 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:31:51 +0100
-Subject: [PATCH 23/47] backup: vma: allow empty backups
+Subject: [PATCH 23/48] backup: vma: allow empty backups
 
 ---
  vma-reader.c | 29 ++++++++++++-------------
index d382519870a1ccd8100adb7194342d3f22d823f3..f57929f30f1cc4723de64a8d72666502b902268a 100644 (file)
@@ -1,7 +1,7 @@
 From 759fdd7b7ea2f90a463d4bc766f9c53053498c58 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:34:41 +0100
-Subject: [PATCH 24/47] qmp: add get_link_status
+Subject: [PATCH 24/48] qmp: add get_link_status
 
 ---
  net/net.c        | 27 +++++++++++++++++++++++++++
index a71811a63d206ddf83354981e77bf66f491fba84..34cfdc5ed2be4ec151b5d52bef2c9c5c4a60ebee 100644 (file)
@@ -1,7 +1,7 @@
 From 8a8c61f58cfde89540c885bc3b0f7e7e9d820782 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Tue, 29 Sep 2015 15:37:44 +0200
-Subject: [PATCH 25/47] smm_available = false
+Subject: [PATCH 25/48] smm_available = false
 
 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
 ---
index 43d95d581023c61032ee99badfa42656852e6f5d..773bd4998ee1dff068677c9ad532cd92f61a7c06 100644 (file)
@@ -1,7 +1,7 @@
 From 7329980dbe0b2c40a7262c4ea4946dfb23c189c6 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:50:05 +0100
-Subject: [PATCH 26/47] use whitespace between VERSION and PKGVERSION
+Subject: [PATCH 26/48] use whitespace between VERSION and PKGVERSION
 
 Our kvm version parser expects a white space or comma after
 the version string, see PVE::QemuServer::kvm_user_version()
index a3129a9b6447511e53f46adf259cdf864ebe41a2..f65b1739d819c453021733588427522b4a546003 100644 (file)
@@ -1,7 +1,7 @@
 From 4e55ff68ec7aef1e2ea602890495cd862dd1161c Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:51:23 +0100
-Subject: [PATCH 27/47] vma: add firewall
+Subject: [PATCH 27/48] vma: add firewall
 
 ---
  blockdev.c       | 78 ++++++++++++++++++++++++++++++++++----------------------
index ba977ce755857295273b1e2e17d0dcfcd43e2642..0c3c864b4aefa951a7b6af48c18eafbffdd85112 100644 (file)
@@ -1,7 +1,7 @@
 From 54847dbb3050d9ec9dd786d572d9c1dff0757d4d Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Thu, 10 Dec 2015 15:14:00 +0100
-Subject: [PATCH 28/47] savevm-async: migration and bdrv_open update
+Subject: [PATCH 28/48] savevm-async: migration and bdrv_open update
 
 ---
  savevm-async.c | 25 ++++++++++++-------------
index b719a8aaf38783f006fed2734d095a52672c6092..81cce2344b944ee9647533c789238d8dc933a226 100644 (file)
@@ -1,7 +1,7 @@
 From 4e0a43ec969bcdf5d3bb01892bc75346e47676d6 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 12 Jan 2016 09:09:49 +0100
-Subject: [PATCH 29/47] vnc: make x509 imply tls again
+Subject: [PATCH 29/48] vnc: make x509 imply tls again
 
 ---
  ui/vnc.c | 5 ++---
index 86d2bab1f954a3757d4aa3b70fdb821c767cb56c..681fc4a9b1ad276b82d9ae0f8d3a30c93949a717 100644 (file)
@@ -1,7 +1,7 @@
 From d55b3d4bca482ded41c0c1489626e426007e786c Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 11 Jan 2016 10:40:31 +0100
-Subject: [PATCH 30/47] PVE VNC authentication
+Subject: [PATCH 30/48] PVE VNC authentication
 
 ---
  crypto/tlscreds.c         |  47 +++++++++++
index f6e57cd179f00300f5e6ff40cfadc7de1820fb4e..f470528d9520a89fc5ddc9c047edcc8d2c32f1fb 100644 (file)
@@ -1,7 +1,7 @@
 From c1210916b52651aaa5d27e69fce78dd57818eab1 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 8 Feb 2016 08:23:34 +0100
-Subject: [PATCH 31/47] vma-writer: don't bail out on zero-length files
+Subject: [PATCH 31/48] vma-writer: don't bail out on zero-length files
 
 ---
  vma-writer.c | 1 -
index f6cbaad378da85460535c6088a2eef4494c109f7..2a2614b2d18db2f2cff1f72fcc115cd41a85c7a4 100644 (file)
@@ -1,7 +1,7 @@
 From 0cf02f586f50e0bc1b25f0ecf76207b2510d77df Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 23 Feb 2016 15:48:41 +0100
-Subject: [PATCH 32/47] vma: better driver guessing for bdrv_open
+Subject: [PATCH 32/48] vma: better driver guessing for bdrv_open
 
 Only use 'raw' when the file actually ends with .raw and
 no protocol has been specified. With protocol pass the
index 370c8a9dbcf5700dce49f2b1e0e0ca6bd47e9843..d4be32de4a2e842b51d9e8a23dd00a2b95890b9a 100644 (file)
@@ -1,7 +1,7 @@
 From 35facc3a3549baf4cccaef27afa9c35a25abe91c Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Thu, 17 Mar 2016 11:33:37 +0100
-Subject: [PATCH 33/47] block: add the zeroinit block driver filter
+Subject: [PATCH 33/48] block: add the zeroinit block driver filter
 
 ---
  block/Makefile.objs |   1 +
index 1e3b5ee2ae92df1ac74af584cd731436b0059c58..4a26623f6b6b30142385d64fb6dcd167f13a0a6f 100644 (file)
@@ -1,7 +1,7 @@
 From a61194439318c95dfcb7df973ac961c12937dbcd Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 12 Apr 2016 13:49:44 +0200
-Subject: [PATCH 34/47] vma: add format option to device mapping
+Subject: [PATCH 34/48] vma: add format option to device mapping
 
 The BDRV_O_PROTOCOL option breaks non-raw protocol devices,
 so we instead now allow the format to be explicitly
index 1e39eab5bbd7518d13d0503771e9debf2e10b237..c9af1799b2005412031e04cdefc5e1a73df385ff 100644 (file)
@@ -1,7 +1,7 @@
 From 6db418de8e775dd2f3699033699777498f4e2afd Mon Sep 17 00:00:00 2001
 From: Thomas Lamprecht <t.lamprecht@proxmox.com>
 Date: Wed, 6 Apr 2016 16:45:15 +0200
-Subject: [PATCH 35/47] fix possible unitialised return value
+Subject: [PATCH 35/48] fix possible unitialised return value
 
 ---
  migration/savevm.c | 2 +-
index f6d32232b9a8e648f8a9f40ff04842bbdd110b1a..3e3e988bc11bcca44943b8207ab2a11b7eb6e156 100644 (file)
@@ -1,7 +1,7 @@
 From f9fec937bcc33ff1edb11b53107486a35b23f2a8 Mon Sep 17 00:00:00 2001
 From: Thomas Lamprecht <t.lamprecht@proxmox.com>
 Date: Wed, 6 Apr 2016 16:47:54 +0200
-Subject: [PATCH 36/47] vnc: refactor to QIOChannelSocket
+Subject: [PATCH 36/48] vnc: refactor to QIOChannelSocket
 
 ---
  ui/vnc-auth-vencrypt.c | 31 ++++++++++++++++---------------
index c0a5610c514185a124fca9cf152b3821dc8974b1..0089256c11ff11dfe536a940d0be8f36a7981496 100644 (file)
@@ -1,7 +1,7 @@
 From d63b3c58bce32b976231923f5e186ebd55259c98 Mon Sep 17 00:00:00 2001
 From: Thomas Lamprecht <t.lamprecht@proxmox.com>
 Date: Fri, 1 Jul 2016 15:47:29 +0200
-Subject: [PATCH 37/47] vma: use BlockBackend on extract
+Subject: [PATCH 37/48] vma: use BlockBackend on extract
 
 As we else rely on bdrv_close_all() do clean up, which was rewritten
 in ca9bd24cf1d53775169ba9adc17e265554d1afed and fails on "dangling"
index 3e99dcdaf3564070336d5591026a10057e041d2c..6727f09fdf2d7d12c04dd1d2c71ff696eec5a107 100644 (file)
@@ -1,7 +1,7 @@
 From a004ee9295029201e8fc3b8fe4acf7f85674527c Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Fri, 9 Sep 2016 14:51:28 +0200
-Subject: [PATCH 38/47] vma: byte based write calls
+Subject: [PATCH 38/48] vma: byte based write calls
 
 ---
  vma-reader.c | 42 +++++++++++++++++++++---------------------
index 6709196dbdc8fe441ff2eef2b324d2fc48ea65b7..0f1a65ea46ddda078eb6217fcf832fcdd3340141 100644 (file)
@@ -1,7 +1,7 @@
 From 0dd047c39e7821c8e31f9133be12bc9be61c045c Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Tue, 26 Jul 2016 16:51:00 +0200
-Subject: [PATCH 39/47] rbd: disable rbd_cache_writethrough_until_flush with
+Subject: [PATCH 39/48] rbd: disable rbd_cache_writethrough_until_flush with
  cache=unsafe
 
 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
index e0f126409aa0dbad777d202d05419f278271d5d8..9b42f49aa9f359907e633f115f9b5f75a2af25fa 100644 (file)
@@ -1,7 +1,7 @@
 From 5a587bc1cfc30faa8506b5c2925b767b4c3d7b56 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 1 Aug 2016 10:52:46 +0200
-Subject: [PATCH 40/47] enable cache=unsafe for vma extract_content and
+Subject: [PATCH 40/48] enable cache=unsafe for vma extract_content and
  qmp_savevm_start
 
 We don't send any flush here, so we need to open with cache=unsafe.
index 350337de2058ab421c56232758e4308e8876b40f..781ddb4c31640c79e3d1c4b936913d03819eb0f5 100644 (file)
@@ -1,7 +1,7 @@
 From d7b0ad8cf8ef0aad35b0549128003dbb49b8386d Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Fri, 9 Sep 2016 15:21:19 +0200
-Subject: [PATCH 41/47] savevm-async updates
+Subject: [PATCH 41/48] savevm-async updates
 
 ---
  savevm-async.c | 79 +++++++++++++++++++++++++++++-----------------------------
index 59f359e2aaea3e010dc1d67b9d84863ece6736b4..10ae05220a3c0d11d4533ab22b39848701b923c5 100644 (file)
@@ -1,7 +1,7 @@
 From 4fb6191acb1fdff8170a26ba9acd835c9eaf8218 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Tue, 13 Sep 2016 01:57:56 +0200
-Subject: [PATCH 42/47] qmp_snapshot_drive: add aiocontext
+Subject: [PATCH 42/48] qmp_snapshot_drive: add aiocontext
 
 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
 ---
index 1a6bc90c6942eb33ba3c5f68cdb4c9677d028351..97ebf96fa0f3496522897379c457f32abf76caa5 100644 (file)
@@ -1,7 +1,7 @@
 From 220fb93343dc6c05989c903873d8ed68943848ef Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Fri, 21 Oct 2016 09:09:26 +0200
-Subject: [PATCH 43/47] vma: sizes passed to blk_co_preadv should be bytes now
+Subject: [PATCH 43/48] vma: sizes passed to blk_co_preadv should be bytes now
 
 ---
  vma.c | 4 ++--
index 107640b632abbdebc7a50c626158a09c125d3b16..4b5694dca5d7c9cde62a87160fc638d937a0252d 100644 (file)
@@ -1,7 +1,7 @@
 From cb89d816594f141bad45536886900cbf33ba09bd Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 24 Oct 2016 09:32:36 +0200
-Subject: [PATCH 44/47] glusterfs: no default logfile if daemonized
+Subject: [PATCH 44/48] glusterfs: no default logfile if daemonized
 
 ---
  block/gluster.c | 15 +++++++++++----
index 6882f83d4d90672daf29402bd4fac4c350a449b9..8928886f6df07977b530c3e7b81b3d7376852f68 100644 (file)
@@ -1,7 +1,7 @@
 From 58d620cb1d511be7a6521e76a6cd54ebbbbae2b7 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Mon, 7 Nov 2016 11:47:50 +0100
-Subject: [PATCH 45/47] qmp_delete_drive_snapshot : add aiocontext
+Subject: [PATCH 45/48] qmp_delete_drive_snapshot : add aiocontext
 
 this fix snapshot delete of qcow2 with iothread enabled
 
index e216979e0830999c343c03599a42a73da02868ec..d2606bc5fe829e64b16c1e3c007c9b9a7326fb02 100644 (file)
@@ -1,7 +1,7 @@
 From 190e9321e1657ec0b956ecece21d6a037487cd14 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 8 Nov 2016 11:13:06 +0100
-Subject: [PATCH 46/47] convert savevm-async to threads
+Subject: [PATCH 46/48] convert savevm-async to threads
 
 ---
  savevm-async.c | 144 +++++++++++++++++++++++++++++++++++----------------------
index 8dbebc5f97bc82130881dec50ed7dabc85c5f2b7..3416bc455cc6827dcc31c882662ed1e4ee473828 100644 (file)
@@ -1,7 +1,7 @@
 From 2cebda37c624832599906df01f540fdc76ecac50 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 30 Nov 2016 10:27:47 +0100
-Subject: [PATCH 47/47] glusterfs: allow partial reads
+Subject: [PATCH 47/48] glusterfs: allow partial reads
 
 This should deal with qemu bug #1644754 until upstream
 decides which way to go. The general direction seems to be
diff --git a/debian/patches/pve/0048-vma-don-t-use-O_DIRECT-on-pipes.patch b/debian/patches/pve/0048-vma-don-t-use-O_DIRECT-on-pipes.patch
new file mode 100644 (file)
index 0000000..8ec4b1c
--- /dev/null
@@ -0,0 +1,51 @@
+From 40846f73aea36b4ef66cce152321208f7d820222 Mon Sep 17 00:00:00 2001
+From: Wolfgang Bumiller <w.bumiller@proxmox.com>
+Date: Thu, 30 Mar 2017 16:05:34 +0200
+Subject: [PATCH 48/48] vma: don't use O_DIRECT on pipes
+
+It puts them in packet mode which potentially discards data.
+---
+ vma-writer.c | 10 ++++------
+ 1 file changed, 4 insertions(+), 6 deletions(-)
+
+diff --git a/vma-writer.c b/vma-writer.c
+index 70dcca0..9001cbd 100644
+--- a/vma-writer.c
++++ b/vma-writer.c
+@@ -283,9 +283,8 @@ VmaWriter *vma_writer_create(const char *filename, uuid_t uuid, Error **errp)
+         }
+         vmaw->fd = fileno(vmaw->cmd);
+-        /* try to use O_NONBLOCK and O_DIRECT */
++        /* try to use O_NONBLOCK */
+         fcntl(vmaw->fd, F_SETFL, fcntl(vmaw->fd, F_GETFL)|O_NONBLOCK);
+-        fcntl(vmaw->fd, F_SETFL, fcntl(vmaw->fd, F_GETFL)|O_DIRECT);
+     } else {
+         struct stat st;
+@@ -293,19 +292,18 @@ VmaWriter *vma_writer_create(const char *filename, uuid_t uuid, Error **errp)
+         const char *tmp_id_str;
+         if ((stat(filename, &st) == 0) && S_ISFIFO(st.st_mode)) {
+-            oflags = O_NONBLOCK|O_DIRECT|O_WRONLY;
++            oflags = O_NONBLOCK|O_WRONLY;
+             vmaw->fd = qemu_open(filename, oflags, 0644);
+         } else if (strstart(filename, "/dev/fdset/", &tmp_id_str)) {
+-            oflags = O_NONBLOCK|O_DIRECT|O_WRONLY;
++            oflags = O_NONBLOCK|O_WRONLY;
+             vmaw->fd = qemu_open(filename, oflags, 0644);
+         } else if (strstart(filename, "/dev/fdname/", &tmp_id_str)) {
+             vmaw->fd = monitor_get_fd(cur_mon, tmp_id_str, errp);
+             if (vmaw->fd < 0) {
+                 goto err;
+             }
+-            /* try to use O_NONBLOCK and O_DIRECT */
++            /* try to use O_NONBLOCK */
+             fcntl(vmaw->fd, F_SETFL, fcntl(vmaw->fd, F_GETFL)|O_NONBLOCK);
+-            fcntl(vmaw->fd, F_SETFL, fcntl(vmaw->fd, F_GETFL)|O_DIRECT);
+         } else  {
+             oflags = O_NONBLOCK|O_DIRECT|O_WRONLY|O_CREAT|O_EXCL;
+             vmaw->fd = qemu_open(filename, oflags, 0644);
+-- 
+2.1.4
+
index 01458f3547042ccb3fe0108969d9359dd0b070f1..6a01378fb22f1db7f6ecdcf1cba6a1dba07d84a5 100644 (file)
@@ -45,3 +45,4 @@ pve/0044-glusterfs-no-default-logfile-if-daemonized.patch
 pve/0045-qmp_delete_drive_snapshot-add-aiocontext.patch
 pve/0046-convert-savevm-async-to-threads.patch
 pve/0047-glusterfs-allow-partial-reads.patch
+pve/0048-vma-don-t-use-O_DIRECT-on-pipes.patch