Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk-mq: really fix plug list flushing for nomerge queues
Commit 0809e3a ("block: fix plug list flushing for nomerge queues") updated blk_mq_make_request() to set request_count even when blk_queue_nomerges() returns true. However, blk_mq_make_request() only does limited plugging and doesn't use request_count; blk_sq_make_request() is the one that should have been fixed. Do that and get rid of the unnecessary work in the mq version. Fixes: 0809e3a ("block: fix plug list flushing for nomerge queues") Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: Ming Lei <[email protected]> Reviewed-by: Jeff Moyer <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information