blk-mq: fix failure to decrement plug count on single rq removal
to #29139300 commit 4711b57317f0ff5ca9fbd5e2df6c73b2c07ddc53 upstream If we yank a 'same_queue_rq' request off the plug list, we should also decrement the cached request count. Fixes: 5f0ed774ed29 ("block: sum requests in the plug structure") Signed-off-by: NJens Axboe <axboe@kernel.dk> Signed-off-by: NHongnan Li <hongnan.li@linux.alibaba.com> Reviewed-by: NJoseph Qi <joseph.qi@linux.alibaba.com> Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Showing
想要评论请 注册 或 登录