public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Maximilian Hill <mhill@inett.de>
Subject: Re: [pve-devel] [PATCH qemu-server] fix #3329: turn on cache=writeback for efidisks on rbd
Date: Wed, 16 Jun 2021 15:34:24 +0200	[thread overview]
Message-ID: <37ba5e5d-ccc4-7160-4d2b-0305058ac34f@proxmox.com> (raw)
In-Reply-To: <YMn7szm3nmk+OzV9@inett.de>

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.




  reply	other threads:[~2021-06-16 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 13:09 Dominik Csapak
2021-06-16 13:25 ` Maximilian Hill
2021-06-16 13:34   ` Thomas Lamprecht [this message]
2021-06-16 13:47 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37ba5e5d-ccc4-7160-4d2b-0305058ac34f@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=mhill@inett.de \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal