[pve-devel] [PATCH qemu-server] fix #3329: turn on cache=writeback for efidisks on rbd
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jun 16 15:34:24 CEST 2021
hi,
On 16.06.21 15:25, Maximilian Hill wrote:
> On Wed, Jun 16, 2021 at 03:09:33PM +0200, Dominik Csapak wrote:
>> on slower ceph clusters, the write pattern of the ovmf booting process
>> slows down the boot of the vm, so we turn on caching by default
>>
>> + my $cache = "";
>> + if ($path =~ m/^rbd:/) {
>> + $cache = ',cache=writeback';
> does this work, evven if the rbd storage is not called "rbd"?
yes, this has nothing to do with the storage name, the path is already translated here
and "rbd:" tells QEMU to use librdb for accessing this image.
More information about the pve-devel
mailing list