This patch set aims to allow ublk server threads to better balance load amongst themselves by decoupling server threads from ublk queues/hctxs, so that multiple threads can service I/Os from a single hctx. Signed-off-by: Uday Shankar <ushankar@xxxxxxxxxxxxxxx> --- Changes in v2: - Remove changes split into other patches - To ease error handling/synchronization, associate each I/O (instead of each queue) to the last task that issues a FETCH_REQ against it. Only that task is allowed to operate on the I/O. - Link to v1: https://lore.kernel.org/r/20241002224437.3088981-1-ushankar@xxxxxxxxxxxxxxx --- Uday Shankar (2): ublk: properly serialize all FETCH_REQs ublk: require unique task per io instead of unique task per hctx drivers/block/ublk_drv.c | 92 +++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 48 deletions(-) --- base-commit: 88e581728f3f0036110126adbaa0d88d3cd3b48d change-id: 20250408-ublk_task_per_io-c693cf608d7a Best regards, -- Uday Shankar <ushankar@xxxxxxxxxxxxxxx>