public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ublk: add UBLK_F_QUIESCE
@ 2025-05-22 16:35 Ming Lei
  2025-05-22 16:35 ` [PATCH 1/3] selftests: ublk: add test case for UBLK_U_CMD_UPDATE_SIZE Ming Lei
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Ming Lei @ 2025-05-22 16:35 UTC (permalink / raw)
  To: Jens Axboe, linux-block
  Cc: Uday Shankar, Caleb Sander Mateos, Yoav Cohen, Ming Lei

Hi Jens,

The 1st patch adds test case for covering UBLK_U_CMD_UPDATE_SIZE which is
added recently.

The 2nd patch adds UBLK_F_QUIESCE for supporting to quiesce device in grace
way, and typical use case is to upgrade ublk server, meantime keep ublk
block device online.

The last patch adds test case for UBLK_F_QUIESCE.

Thanks,
Ming


Ming Lei (3):
  selftests: ublk: add test case for UBLK_U_CMD_UPDATE_SIZE
  ublk: add feature UBLK_F_QUIESCE
  selftests: ublk: add test for UBLK_F_QUIESCE

 drivers/block/ublk_drv.c                      | 124 +++++++++++++++++-
 include/uapi/linux/ublk_cmd.h                 |  19 +++
 tools/testing/selftests/ublk/Makefile         |   2 +
 tools/testing/selftests/ublk/kublk.c          |  94 ++++++++++++-
 tools/testing/selftests/ublk/kublk.h          |   3 +
 tools/testing/selftests/ublk/test_common.sh   |  37 +++++-
 .../testing/selftests/ublk/test_generic_04.sh |   2 +-
 .../testing/selftests/ublk/test_generic_05.sh |   2 +-
 .../testing/selftests/ublk/test_generic_10.sh |  30 +++++
 .../testing/selftests/ublk/test_generic_11.sh |  44 +++++++
 10 files changed, 350 insertions(+), 7 deletions(-)
 create mode 100755 tools/testing/selftests/ublk/test_generic_10.sh
 create mode 100755 tools/testing/selftests/ublk/test_generic_11.sh

-- 
2.47.0


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

end of thread, other threads:[~2025-06-23  2:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 16:35 [PATCH 0/3] ublk: add UBLK_F_QUIESCE Ming Lei
2025-05-22 16:35 ` [PATCH 1/3] selftests: ublk: add test case for UBLK_U_CMD_UPDATE_SIZE Ming Lei
2025-05-22 16:35 ` [PATCH 2/3] ublk: add feature UBLK_F_QUIESCE Ming Lei
2025-06-05 12:37   ` Yoav Cohen
2025-06-06  9:54     ` Ming Lei
2025-06-08 10:20       ` Yoav Cohen
2025-06-08 14:34         ` Ming Lei
2025-06-12  8:17           ` Yoav Cohen
2025-06-12  9:15             ` Ming Lei
2025-06-12 12:04               ` Yoav Cohen
2025-06-23  2:13                 ` Ming Lei
2025-05-22 16:35 ` [PATCH 3/3] selftests: ublk: add test for UBLK_F_QUIESCE Ming Lei
2025-05-23 15:42 ` [PATCH 0/3] ublk: add UBLK_F_QUIESCE Jens Axboe

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