From: "Haeuptle, Michael" <[email protected]>
To: Jens Axboe <[email protected]>,
"[email protected]" <[email protected]>
Subject: RE: Bug? CQE.res = -EAGAIN with nvme multipath driver
Date: Thu, 9 Jan 2025 18:09:56 +0000 [thread overview]
Message-ID: <DS7PR84MB31106A2E2315A53CFA33B2B495132@DS7PR84MB3110.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <[email protected]>
Hey Jens, sorry for the late response.
I was unable to reproduce the issue with your branch. However, I didn't even hit the spot where same_thread_group check was removed.
We backported your changes to 6.1.119 and we did see that our original issue is fixed with your patches.
It seems to me that io_uring performance increased quite a bit in the latest kernel, judging from fio queue utilization of my workload. Maybe that's why I'm not hitting the place where same_thread_group was removed.
Your patch didn't cause any regression after 1d testing in my NVMF/RDMA & multipath setup. So, I think it would be good to get this patch on main.
-- Michael
-----Original Message-----
From: Jens Axboe <[email protected]>
Sent: Tuesday, January 7, 2025 11:27 AM
To: Haeuptle, Michael <[email protected]>; [email protected]
Subject: Re: Bug? CQE.res = -EAGAIN with nvme multipath driver
On 1/7/25 11:24 AM, Haeuptle, Michael wrote:
> Thanks for the quick response!
>
> When I remove that check on the 6.1.85 kernel version we're using,
> then it seems that the user space program is losing IOs. I confirmed
> this with fio. When we hit this issue, fio never completes and is
> stuck.
That's because the io_uring logic assumes it happens inline via submission, and for your case it does not. Which is also why it gets failed. And hence setting the retry flag in that condition will do absolutely nothing, as nobody is there to see it.
> I can certainly try that later kernel with your fix, if you think
> there are other changes that prevent losing IOs.
Please try the branch and see how it fares for you.
--
Jens Axboe
next prev parent reply other threads:[~2025-01-09 18:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-06 20:03 Bug? CQE.res = -EAGAIN with nvme multipath driver Haeuptle, Michael
2025-01-06 23:53 ` Jens Axboe
2025-01-07 2:33 ` Jens Axboe
2025-01-07 2:39 ` Jens Axboe
2025-01-07 18:12 ` Jens Axboe
2025-01-07 18:24 ` Haeuptle, Michael
2025-01-07 18:26 ` Jens Axboe
2025-01-09 18:09 ` Haeuptle, Michael [this message]
2025-01-10 14:53 ` Jens Axboe
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=DS7PR84MB31106A2E2315A53CFA33B2B495132@DS7PR84MB3110.NAMPRD84.PROD.OUTLOOK.COM \
[email protected] \
[email protected] \
[email protected] \
/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