Re: [PATCH 6/6] blk-mq: remove REQ_ATOM_STARTED
From: "tj@kernel.org" <tj@kernel.org>
Date: 2017-12-12 22:22:14
Also in:
lkml
From: "tj@kernel.org" <tj@kernel.org>
Date: 2017-12-12 22:22:14
Also in:
lkml
On Tue, Dec 12, 2017 at 10:20:39PM +0000, Bart Van Assche wrote:
The above code should show all requests owned by the block driver. Patch "blk-mq-debugfs: Also show requests that have not yet been started" (not yet in Jens' tree) changes the REQ_ATOM_STARTED test into list_empty(&rq->queuelist). Can that change be supported with the existing MQ_RQ_* states or will a new state have to be introduced to support this? See also https://marc.info/?l=linux-block&m=151252188411991.
If list_empty() test was correct before, it'd be correct now too. Thnaks. -- tejun