Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk-mq: do not reset plug->rq_count before the list is sorted
We would never be able to sort the list if we first reset plug->rq_count which is used in conditional check later. Fixes: ce5b009 ("block: improve logic around when to sort a plug list") Reviewed-by: Ming Lei <[email protected]> Signed-off-by: Dongli Zhang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information