blk-mq-debugfs: Show busy requests
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 1 Jun 2017 15:55:12 +0000 (08:55 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 1 Jun 2017 19:02:59 +0000 (13:02 -0600)
commit2720bab50258782573df0f536681bece11e784f0
tree06a2527f7094bc2da1e4fbb681db28743d6fa804
parent8ef1a191038c138d5675933cd69d47747d0d396b
blk-mq-debugfs: Show busy requests

Requests that got stuck in a block driver are neither on
blk_mq_ctx.rq_list nor on any hw dispatch queue. Make these
visible in debugfs through the "busy" attribute.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Eduardo Valentin <eduval@amazon.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c