]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0024-PVE-vma-remove-forced-NO_FLUSH-option.patch
61b227e7e14afea076c147248049e666d4cb8064
[pve-qemu.git] / debian / patches / pve / 0024-PVE-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] PVE: 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 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
12 ---
13 vma.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/vma.c b/vma.c
17 index 476b7bee00..3289fd722f 100644
18 --- a/vma.c
19 +++ b/vma.c
20 @@ -327,7 +327,7 @@ static int extract_content(int argc, char **argv)
21 uint64_t throttling_bps = 0;
22 const char *throttling_group = NULL;
23 const char *cache = NULL;
24 - int flags = BDRV_O_RDWR | BDRV_O_NO_FLUSH;
25 + int flags = BDRV_O_RDWR;
26 bool write_zero = true;
27
28 if (readmap) {
29 --
30 2.20.1
31