public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] ublk: introduce UBLK_CMD_TRY_STOP_DEV
@ 2026-01-12 13:36 Yoav Cohen
  2026-01-12 13:36 ` [PATCH v6 1/3] ublk: make ublk_ctrl_stop_dev return void Yoav Cohen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Yoav Cohen @ 2026-01-12 13:36 UTC (permalink / raw)
  To: Ming Lei, Jens Axboe, linux-block, csander, alex
  Cc: jholzman, omril, Yoav Cohen, Yoav Cohen

Changes since v2:
 - Address Ming Lei’s comments in patch 2:
   - Add a feature flag and some minor comments.
 - Patch 1 unchanged, keeps Reviewed-by

Changes since v3:
 - Address Caleb's comments in patch 2
   - add to kublk.c
   - add to auto features
   - set feature flag to 17

Changes since v4:
 - Selftest added by Ming
 - Move kublk.c change to new selftest commit

Changes since v5:
 - Return -ENXIO when device is going down instead of -EBUSY
 - Update the patch 2 commit msg

Ming Lei (1):
  selftests: ublk: add stop command with --safe option

Yoav Cohen (2):
  ublk: make ublk_ctrl_stop_dev return void
  ublk: add UBLK_CMD_TRY_STOP_DEV command

 drivers/block/ublk_drv.c                      | 50 ++++++++++++++--
 include/uapi/linux/ublk_cmd.h                 |  9 ++-
 tools/testing/selftests/ublk/Makefile         |  1 +
 tools/testing/selftests/ublk/kublk.c          | 53 +++++++++++++++++
 tools/testing/selftests/ublk/kublk.h          |  1 +
 .../testing/selftests/ublk/test_generic_16.sh | 57 +++++++++++++++++++
 6 files changed, 165 insertions(+), 6 deletions(-)
 create mode 100755 tools/testing/selftests/ublk/test_generic_16.sh

-- 
2.39.5 (Apple Git-154)


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

end of thread, other threads:[~2026-01-12 17:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-12 13:36 [PATCH v6 0/3] ublk: introduce UBLK_CMD_TRY_STOP_DEV Yoav Cohen
2026-01-12 13:36 ` [PATCH v6 1/3] ublk: make ublk_ctrl_stop_dev return void Yoav Cohen
2026-01-12 13:36 ` [PATCH v6 2/3] ublk: add UBLK_CMD_TRY_STOP_DEV command Yoav Cohen
2026-01-12 13:36 ` [PATCH v6 3/3] selftests: ublk: add stop command with --safe option Yoav Cohen
2026-01-12 16:22 ` [PATCH v6 0/3] ublk: introduce UBLK_CMD_TRY_STOP_DEV Jens Axboe
2026-01-12 16:28   ` Caleb Sander Mateos
2026-01-12 16:33     ` Jens Axboe
2026-01-12 17:07       ` Caleb Sander Mateos

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