]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0033-vma-remove-forced-NO_FLUSH-option.patch
6eb7d991cfd33f59c509fbc0cca37418d0a0d6d6
[pve-qemu.git] / debian / patches / pve / 0033-vma-remove-forced-NO_FLUSH-option.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Tue, 27 Mar 2018 10:49:03 +0200
4 Subject: [PATCH] vma: remove forced NO_FLUSH option
5
6 This one's rbd specific and in no way a sane choice for all
7 types storages. Instead, we want to honor the cache option
8 passed along.
9
10 Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
11 ---
12 vma.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/vma.c b/vma.c
16 index e0271060af..463d9f5412 100644
17 --- a/vma.c
18 +++ b/vma.c
19 @@ -328,7 +328,7 @@ static int extract_content(int argc, char **argv)
20 uint64_t throttling_bps = 0;
21 const char *throttling_group = NULL;
22 const char *cache = NULL;
23 - int flags = BDRV_O_RDWR | BDRV_O_NO_FLUSH;
24 + int flags = BDRV_O_RDWR;
25 bool write_zero = true;
26
27 if (readmap) {
28 --
29 2.11.0
30