Re: [PATCH] selftests: ublk: add rotating auto_buf index regression test
Jens Axboe <[email protected]> Mon, 03 Aug 2026 20:40:16 -0600
| Newsgroups | org.kernel.vger.linux-kselftest,org.kernel.vger.linux-block |
|---|---|
| Message-ID | <178581121634.578215.15829017092257405641.b4-ty@b4> |
On Thu, 30 Jul 2026 10:40:50 +0800, Yang Xiuwei wrote:
> Batch AUTO_BUF_REG COMMIT must unregister the old auto_buf index before
> storing the next one. Fixed per-tag indexing (A == B) masks bugs that
> clear after overwriting io->buf.
>
> Add kublk --rotate_auto_buf so each tag alternates between two sparse
> buffer indices, and test_batch_04.sh to exercise that path. Without the
> driver fix, the request ref stays stuck and I/O hangs; the test uses a
> short timeout and kills the ublk daemon to recover. With the fix, a
> small write completes quickly.
>
> [...]
Applied, thanks!
[1/1] selftests: ublk: add rotating auto_buf index regression test
commit: d507d3cb19e71f10336e41deeac517cdc21c34ea
Best regards,
--
Jens Axboe