[PATCH 0/2] ublk: fix force_abort leftover after quiesce recover
Yang Xiuwei <[email protected]>
| Newsgroups | org.kernel.vger.linux-block,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
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