On 3/8/18 4:27 PM, Bart Van Assche wrote:
> Since commit 634f9e4631a8 ("blk-mq: remove REQ_ATOM_COMPLETE usages
> from blk-mq") blk_rq_is_complete() only reports whether or not a
> request has completed for legacy queues. Hence modify the
> blk-mq-debugfs code such that it shows the blk-mq request state
> again.

I'd probably be more comfortable if you added a blk_mq_rq_state_name()
helper function and did the boundary check there.

-- 
Jens Axboe

Reply via email to