Linux block layer
 help / color / mirror / Atom feed
From: Maks <mi9992828@gmail.com>
To: axboe@kernel.dk
Cc: Maks Ivanov <mi9992828@gmail.com>,
	io-uring@vger.kernel.org, linux-block@vger.kernel.org
Subject: Question about asynchronous blk-mq tag waiting for io_uring
Date: Fri,  9 Oct 2026 00:41:37 +0300	[thread overview]
Message-ID: <20261008214137.1267424-1-mi9992828@gmail.com> (raw)

From: Maks Ivanov <mi9992828@gmail.com>

Hi,

I read your comment in liburing issue #1492 about callback-based retry
when storage tags are exhausted:

https://github.com/axboe/liburing/issues/1492#issuecomment-4696489936

I'm considering this direction for my bachelor's thesis and would like
to clarify its scope and design.

The initial scope would be io_uring direct reads on raw block devices.
For requests without explicit RWF_NOWAIT, the mechanism would register
a continuation when tag allocation cannot complete immediately, then
retry submission when a tag becomes available.
Explicit RWF_NOWAIT requests would retain their existing
behaviour when tag allocation would require waiting.

Could you clarify a few points?

- Is this still an open direction worth investigating?
- Is there related work or an existing approach I should look at first?
- Which layer should own the continuation: io_uring, the block submission
  path, or blk-mq?
- What lifetime and cancellation constraints would such a mechanism need
  to satisfy?

I would also appreciate pointers to other open problems in io_uring or
the block layer that could suit a focused implementation and validation
project. Existing bug reports, design discussions, or TODOs would be
very helpful.

Thanks,
Maks Ivanov

             reply	other threads:[~2026-10-08 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-08 21:41 Maks [this message]
2026-10-17 17:42 ` Question about asynchronous blk-mq tag waiting for io_uring Maks Ivanov

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=20261008214137.1267424-1-mi9992828@gmail.com \
    --to=mi9992828@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=linux-block@vger.kernel.org \
    /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