Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH 0/2] ublk: fix force_abort leftover after quiesce recover
@ 2026-08-21 10:30 Yang Xiuwei
  2026-08-21 10:30 ` [PATCH 1/2] ublk: clear force_abort in ublk_queue_reset_io_flags() Yang Xiuwei
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yang Xiuwei @ 2026-08-21 10:30 UTC (permalink / raw)
  To: tom.leiming, axboe; +Cc: linux-block, shuah, linux-kselftest, Yang Xiuwei

Hi,

Quiesce on a batch device leaves ubq->force_abort set. Recovery does
not clear it, so batch fetch fails with -ENODEV and the device stays
QUIESCED.

Patch 1 clears force_abort in ublk_queue_reset_io_flags().
Patch 2 adds -b coverage to recover_03.

Tested: recover_01, recover_03 (with and without -b).

Yang Xiuwei (2):
  ublk: clear force_abort in ublk_queue_reset_io_flags()
  selftests: ublk: add batch IO cases to recover_03

 drivers/block/ublk_drv.c                        | 1 +
 tools/testing/selftests/ublk/test_recover_03.sh | 5 +++++
 2 files changed, 6 insertions(+)

-- 
2.25.1


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

end of thread, other threads:[~2026-08-24 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21 10:30 [PATCH 0/2] ublk: fix force_abort leftover after quiesce recover Yang Xiuwei
2026-08-21 10:30 ` [PATCH 1/2] ublk: clear force_abort in ublk_queue_reset_io_flags() Yang Xiuwei
2026-08-21 10:30 ` [PATCH 2/2] selftests: ublk: add batch IO cases to recover_03 Yang Xiuwei
2026-08-24 13:31 ` [PATCH 0/2] ublk: fix force_abort leftover after quiesce recover Ming Lei

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