]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26cdcb1b66e2cfdedc06b7d4d433e3dbaeb6d628
tree06a2527f7094bc2da1e4fbb681db28743d6fa804
parent4d448e7c7468cd12bcc1a9eb81479faf3719b1eb
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