Re: [pve-devel] [PATCH pve-qemu-kvm] Force enable rbd cache for qmrestore RFC

2016-07-26 Thread Eneko Lacunza
El 26/07/16 a las 13:15, Dietmar Maurer escribió: Index: b/vma.c === --- a/vma.c +++ b/vma.c @@ -328,6 +328,12 @@ static int extract_content(int argc, cha } +/* Force rbd cache */ +if (0 ==

[pve-devel] [PATCH pve-qemu-kvm] Force enable rbd cache for qmrestore RFC

2016-07-26 Thread Eneko Lacunza
Hi all, This is my first code contribution for Proxmox. Please correct my wrongdoings with patch creation/code style/solution etc. :-) This small patch adds a flag to devfn to force rbd cache (writeback cache) activation for qmrestore, to improve performance on restore to RBD. This follows