Re: [PATCH 1/1] blk-mq: do not reset plug->rq_count before the list is sorted

From: Jens Axboe
Date: Thu Apr 04 2019 - 10:38:00 EST


On 4/3/19 8:57 PM, Dongli Zhang wrote:
> We would never be able to sort the list if we first reset plug->rq_count
> which is used in conditional check later.

Well, that was pretty stupid. Thanks for the patch, applied.

--
Jens Axboe