Re: [PATCH 2/2] Revert "mq-deadline: Fix request accounting"

From: Bart Van Assche
Date: Tue Sep 07 2021 - 11:15:13 EST


On 9/7/21 7:21 AM, Niklas Cassel wrote:
blk-mq will no longer call the I/O scheduler .finish_request() callback
for requests that were never inserted to the I/O scheduler.

I do not agree. Even with patch 1/2 from this series applied, finish_request()
will still be called for requests inserted by blk_insert_cloned_request()
although these requests are never inserted to the I/O scheduler.

Bart.