Linux block layer
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: "Michael Kelley (LINUX)" <mikelley@microsoft.com>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH v2] block: don't allow multiple bios for IOCB_NOWAIT issue
Date: Tue, 24 Jan 2023 09:13:18 -0700	[thread overview]
Message-ID: <2443254b-6a9c-0e46-b157-d698c79ed915@kernel.dk> (raw)
In-Reply-To: <BYAPR21MB168820EEC294D8A951AA20EAD7C99@BYAPR21MB1688.namprd21.prod.outlook.com>

On 1/24/23 9:03 AM, Michael Kelley (LINUX) wrote:
> From: Jens Axboe <axboe@kernel.dk> Sent: Saturday, January 21, 2023 1:11 PM
>>
>> On 1/20/23 9:56?PM, Michael Kelley (LINUX) wrote:
>>> From: Jens Axboe <axboe@kernel.dk> Sent: Monday, January 16, 2023 1:06 PM
> 
> [snip]
> 
>>>
>>> I've wrapped up my testing on this patch.  All testing was via
>>> io_uring -- I did not test other paths.  Testing was against a
>>> combination of this patch and the previous patch set for a similar
>>> problem. [1]
>>>
>>> I tested with a simple test program to issue single I/Os, and verified
>>> the expected paths were taken through the block layer and io_uring
>>> code for various size I/Os, including over 1 Mbyte.  No EAGAIN errors
>>> were seen. This testing was with a 6.1 kernel.
>>>
>>> Also tested the original app that surfaced the problem.  It's a larger
>>> scale workload using io_uring, and is where the problem was originally
>>> encountered.  That workload runs on a purpose-built 5.15 kernel, so I
>>> backported both patches to 5.15 for this testing.  All looks good. No
>>> EAGAIN errors were seen.
>>
>> Thanks a lot for your thorough testing! Can you share the 5.15
>> backports, so we can put them into 5.15-stable as well potentially?
>>
> 
> Certainly.  What's the best way to do that?  Should I send them to you,
> or to the linux-block list?  Or post directly to stable@vger.kernel.org?
> If the latter, maybe I need to wait until it has an upstream commit ID
> that can be referenced.  Also, you or someone should do a quick review
> of the backport to make sure I didn't break something in a path I
> didn't test.

Just send them to the block list, then we have them for when the commit
hits upstream and gives us a chance to review them upfront.

Thanks!

-- 
Jens Axboe



  reply	other threads:[~2023-01-24 16:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16 21:06 [PATCH v2] block: don't allow multiple bios for IOCB_NOWAIT issue Jens Axboe
2023-01-16 23:20 ` Damien Le Moal
2023-01-16 23:28   ` Jens Axboe
2023-01-16 23:29     ` Jens Axboe
2023-01-16 23:32       ` Damien Le Moal
2023-01-16 23:31     ` Damien Le Moal
2023-01-16 23:39       ` Jens Axboe
2023-01-17  2:17         ` Damien Le Moal
2023-01-21  4:56 ` Michael Kelley (LINUX)
2023-01-21 21:10   ` Jens Axboe
2023-01-24 16:03     ` Michael Kelley (LINUX)
2023-01-24 16:13       ` Jens Axboe [this message]
2023-01-28 16:34         ` Michael Kelley (LINUX)

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=2443254b-6a9c-0e46-b157-d698c79ed915@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=mikelley@microsoft.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