all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Fabian Ebner <f.ebner@proxmox.com>
To: Thomas Lamprecht <t.lamprecht@proxmox.com>,
	Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH qemu] add patch fixing io_uring short read slow path
Date: Fri, 1 Jul 2022 14:30:13 +0200	[thread overview]
Message-ID: <11f2d69d-58d9-2876-c689-2a7664811793@proxmox.com> (raw)
In-Reply-To: <c06aefdd-c0aa-2937-3907-52e70143c13e@proxmox.com>

Am 01.07.22 um 13:53 schrieb Thomas Lamprecht:
> How likely is this to trigger? Did you came across such events or is this a backport
> for the sake of being cautious?
> 
> Mostly asking because 7.0 is already on staging, so it'd be good to know if we should
> add another 6.0 release between (a bit of an hassle but possible due it not having yet
> seen any public repo), or if there isn't as much time pressure and we can just roll it
> out with the slower rollout of QEMU 7.0.

I didn't run into this recently. I do remember that I wondered about a
luring_resubmit_short_read trace for one VM while looking at the
LVM+io_uring issues a year ago, but IIRC that one behaved a bit
differently - got a weird GRUB error rather than the hang reported in
the forum, which I was able to reproduce with another VM then. But maybe
this was actually the root cause for these issues? Would have to find a
reproducer again to see if the patch fixes it.

v1 of the patch mentions:
> Normally recent versions of linux will not issue short reads,
> but apparently btrfs with O_DIRECT (cache=none) does.

but might not be the only situation. I tried a bit with a VM with an
image on BTRFS, but didn't manage to have the call show up in a trace.

So I can't really tell how likely. It can happen with BTRFS, it could
happen with LVM in the past (we don't allow io_uring+LVM currently). I'd
say since there is a big unknown, it might be worth a backport.




      reply	other threads:[~2022-07-01 12:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-01  8:39 Fabian Ebner
2022-07-01 11:53 ` Thomas Lamprecht
2022-07-01 12:30   ` Fabian Ebner [this message]

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=11f2d69d-58d9-2876-c689-2a7664811793@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal