public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag
@ 2025-12-20  9:53 Ming Lei
  2025-12-20  9:53 ` [PATCH 1/2] " Ming Lei
  2025-12-20  9:53 ` [PATCH 2/2] ublk: add selftest for UBLK_F_NO_AUTO_PART_SCAN Ming Lei
  0 siblings, 2 replies; 6+ messages in thread
From: Ming Lei @ 2025-12-20  9:53 UTC (permalink / raw)
  To: Jens Axboe, linux-block
  Cc: Caleb Sander Mateos, Uday Shankar, Yoav Cohen, Ming Lei

Hello,

Add UBLK_F_NO_AUTO_PART_SCAN for avoiding to scan partition in start dev
command automatically, which is useful for network target.

Also add selftest code to make sure it works as expected.


Ming Lei (2):
  ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag
  ublk: add selftest for UBLK_F_NO_AUTO_PART_SCAN

 drivers/block/ublk_drv.c                      |  16 ++-
 include/uapi/linux/ublk_cmd.h                 |   8 ++
 tools/testing/selftests/ublk/Makefile         |   1 +
 tools/testing/selftests/ublk/kublk.c          |   6 +-
 tools/testing/selftests/ublk/kublk.h          |   1 +
 .../testing/selftests/ublk/test_generic_14.sh | 105 ++++++++++++++++++
 6 files changed, 133 insertions(+), 4 deletions(-)
 create mode 100755 tools/testing/selftests/ublk/test_generic_14.sh

-- 
2.47.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-12-23 20:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-20  9:53 [PATCH 0/2] ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag Ming Lei
2025-12-20  9:53 ` [PATCH 1/2] " Ming Lei
2025-12-22 17:11   ` Caleb Sander Mateos
2025-12-23  2:32     ` Ming Lei
2025-12-23 20:03       ` Caleb Sander Mateos
2025-12-20  9:53 ` [PATCH 2/2] ublk: add selftest for UBLK_F_NO_AUTO_PART_SCAN Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox