On Thu, Jul 30, 2026 at 10:40:50AM +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. > > Signed-off-by: Yang Xiuwei <[email protected]>
Looks fine, Reviewed-by: Ming Lei <[email protected]> BTW, this selftest patch should have been part of "[PATCH v2 0/2] ublk: fix auto buf reg ordering around uring_cmd" Thanks, Ming
