]> git.proxmox.com Git - qemu-server.git/commitdiff
qemu-img convert : use default cache=unsafe instead writeback
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 1 Aug 2016 06:51:00 +0000 (08:51 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 1 Aug 2016 08:40:03 +0000 (10:40 +0200)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm

index 7778fb868f093868ec8c0c9d39692488cd6ae833..2414fd86c861d9b25941641f461dfac9d827d71b 100644 (file)
@@ -5605,7 +5605,7 @@ sub qemu_img_convert {
        my $dst_path = PVE::Storage::path($storecfg, $dst_volid);
 
        my $cmd = [];
-       push @$cmd, '/usr/bin/qemu-img', 'convert', '-t', 'writeback', '-p', '-n';
+       push @$cmd, '/usr/bin/qemu-img', 'convert', '-p', '-n';
        push @$cmd, '-s', $snapname if($snapname && $src_format eq "qcow2");
        push @$cmd, '-f', $src_format, '-O', $dst_format, $src_path;
        if ($is_zero_initialized) {