blk-mq-debugfs: Show more request state information
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 16 Mar 2018 17:31:11 +0000 (10:31 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 17 Mar 2018 20:41:17 +0000 (14:41 -0600)
commitec6dcf63c55c8b09b44fe5990082b07baf139c69
tree637886345d36f7a28905674b44e653185a24154e
parent4c6994806f708559c2812b73501406e21ae5dcd0
blk-mq-debugfs: Show more request state information

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.

Fixes: 634f9e4631a8 ("blk-mq: remove REQ_ATOM_COMPLETE usages from blk-mq")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c