On 7/30/25 1:22 AM, Yu Kuai wrote:
+ if (sq_sched) + spin_lock(&e->lock); rq = e->type->ops.dispatch_request(hctx); + if (sq_sched) + spin_unlock(&e->lock);
The above will confuse static analyzers. Please change it into something like the following: if (blk_queue_sq_sched(q)) { spin_lock(&e->lock); rq = e->type->ops.dispatch_request(hctx); spin_unlock(&e->lock); } else { rq = e->type->ops.dispatch_request(hctx); } Otherwise this patch looks good to me. Thanks, Bart.