From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org
Cc: Caleb Sander Mateos <csander@purestorage.com>,
Uday Shankar <ushankar@purestorage.com>,
Yoav Cohen <yoav@nvidia.com>, Ming Lei <ming.lei@redhat.com>
Subject: [PATCH 0/3] ublk: scan partition in async way
Date: Mon, 22 Dec 2025 00:41:40 +0800 [thread overview]
Message-ID: <20251221164145.1703448-1-ming.lei@redhat.com> (raw)
Hi Guys,
The 1st patch scans partition in async way, so IO hang during partition
scan can be covered by current error handling code.
The 2nd patch adds one test for verifying if hang from scanning partition
can be avoided.
The last patch fixes one selftest/ublk rebuild depending issue.
Ming Lei (3):
ublk: scan partition in async way
selftests/ublk: add test for async partition scan
selftests/ublk: fix Makefile to rebuild on header changes
drivers/block/ublk_drv.c | 32 +++++++-
tools/testing/selftests/ublk/Makefile | 7 +-
tools/testing/selftests/ublk/test_common.sh | 16 +++-
.../testing/selftests/ublk/test_generic_15.sh | 80 +++++++++++++++++++
4 files changed, 126 insertions(+), 9 deletions(-)
create mode 100755 tools/testing/selftests/ublk/test_generic_15.sh
--
2.47.0
next reply other threads:[~2025-12-21 16:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-21 16:41 Ming Lei [this message]
2025-12-21 16:41 ` [PATCH 1/3] ublk: scan partition in async way Ming Lei
2025-12-22 16:43 ` Caleb Sander Mateos
2025-12-21 16:41 ` [PATCH 2/3] selftests/ublk: add test for async partition scan Ming Lei
2025-12-21 16:41 ` [PATCH 3/3] selftests/ublk: fix Makefile to rebuild on header changes Ming Lei
2025-12-22 16:48 ` Caleb Sander Mateos
2025-12-23 2:18 ` Ming Lei
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=20251221164145.1703448-1-ming.lei@redhat.com \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=csander@purestorage.com \
--cc=linux-block@vger.kernel.org \
--cc=ushankar@purestorage.com \
--cc=yoav@nvidia.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