From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org,
Caleb Sander Mateos <csander@purestorage.com>,
Uday Shankar <ushankar@purestorage.com>
Subject: Re: [PATCH V2 0/8] ublk: simplify & improve IO canceling
Date: Thu, 17 Apr 2025 08:03:55 +0800 [thread overview]
Message-ID: <aABFa1Eqzy-FAwoD@fedora> (raw)
In-Reply-To: <4c922dc0-b76a-456d-9760-5cec6f12629d@kernel.dk>
On Wed, Apr 16, 2025 at 12:45:39PM -0600, Jens Axboe wrote:
> On 4/15/25 9:54 PM, Ming Lei wrote:
> > Hello,
> >
> > Patch 1st ~ 7th simplifies & improves IO canceling when ublk server daemon
> > is exiting by taking two stage canceling:
> >
> > - canceling active uring_cmd from its cancel function
> >
> > - move inflight requests aborting into ublk char device release handler
> >
> > With this way, implementation is simplified a lot, meantime ub->mutex is
> > not required before queue becomes quiesced, so forward progress is
> > guaranteed.
> >
> > This approach & main implementation is from Uday's patch of
> > "improve detection and handling of ublk server exit".
> >
> > The last patch is selftest code for showing the improvement ublk server
> > exit, 30sec timeout is avoided, which depends on patchset of
> > "[PATCH V2 00/13] selftests: ublk: test cleanup & add more tests"[1].
> >
> > [1] https://lore.kernel.org/linux-block/20250412023035.2649275-1-ming.lei@redhat.com/T/#medbf7024e57beaf1c53e4cef6e076421463839d0
> >
> > Pass both ublk kernel selftests and ublksrv 'make test T=generic'.
>
> Looks good to me - what are we targeting with this patchset? I think
> an argument could be made for 6.15, curious what you're thinking?
I am fine with either 6.15 or 6.16.
Thanks,
Ming
next prev parent reply other threads:[~2025-04-17 0:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-16 3:54 [PATCH V2 0/8] ublk: simplify & improve IO canceling Ming Lei
2025-04-16 3:54 ` [PATCH V2 1/8] ublk: properly serialize all FETCH_REQs Ming Lei
2025-04-16 3:54 ` [PATCH V2 2/8] ublk: add ublk_force_abort_dev() Ming Lei
2025-04-16 3:54 ` [PATCH V2 3/8] ublk: rely on ->canceling for dealing with ublk_nosrv_dev_should_queue_io Ming Lei
2025-04-16 18:35 ` Uday Shankar
2025-04-16 3:54 ` [PATCH V2 4/8] ublk: move device reset into ublk_ch_release() Ming Lei
2025-04-16 19:02 ` Uday Shankar
2025-04-16 23:31 ` Ming Lei
2025-04-16 3:54 ` [PATCH V2 5/8] ublk: improve detection and handling of ublk server exit Ming Lei
2025-04-16 19:09 ` Uday Shankar
2025-04-16 3:54 ` [PATCH V2 6/8] ublk: remove __ublk_quiesce_dev() Ming Lei
2025-04-16 3:54 ` [PATCH V2 7/8] ublk: simplify aborting ublk request Ming Lei
2025-04-16 3:54 ` [PATCH V2 8/8] selftests: ublk: add generic_06 for covering fault inject Ming Lei
2025-04-16 18:45 ` [PATCH V2 0/8] ublk: simplify & improve IO canceling Jens Axboe
2025-04-17 0:03 ` Ming Lei [this message]
2025-04-17 1:33 ` 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=aABFa1Eqzy-FAwoD@fedora \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=csander@purestorage.com \
--cc=linux-block@vger.kernel.org \
--cc=ushankar@purestorage.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