projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5735f
)
blk-mq-debugfs: Also show requests that have not yet been started
author
Bart Van Assche
<
[email protected]
>
Thu, 4 Oct 2018 17:35:24 +0000
(10:35 -0700)
committer
Jens Axboe
<
[email protected]
>
Fri, 5 Oct 2018 14:16:58 +0000
(08:16 -0600)
When debugging e.g. the SCSI timeout handler it is important that
requests that have not yet been started or that already have
completed are also reported through debugfs.
Cc: Christoph Hellwig <
[email protected]
>
Cc: Ming Lei <
[email protected]
>
Cc: Martin K. Petersen <
[email protected]
>
Reviewed-by: Hannes Reinecke <
[email protected]
>
Reviewed-by: Johannes Thumshirn <
[email protected]
>
Signed-off-by: Bart Van Assche <
[email protected]
>
Signed-off-by: Jens Axboe <
[email protected]
>
block/blk-mq-debugfs.c
patch
|
blob
|
history
diff --git
a/block/blk-mq-debugfs.c
b/block/blk-mq-debugfs.c
index a5ea86835fcb2dc2bb7f1a1593637709bce62b2a..41b86f50d1262fff5d8b1939a9eafcec289390b7 100644
(file)
--- a/
block/blk-mq-debugfs.c
+++ b/
block/blk-mq-debugfs.c
@@
-431,8
+431,7
@@
static void hctx_show_busy_rq(struct request *rq, void *data, bool reserved)
{
const struct show_busy_params *params = data;
- if (blk_mq_map_queue(rq->q, rq->mq_ctx->cpu) == params->hctx &&
- blk_mq_rq_state(rq) != MQ_RQ_IDLE)
+ if (blk_mq_map_queue(rq->q, rq->mq_ctx->cpu) == params->hctx)
__blk_mq_debugfs_rq_show(params->m,
list_entry_rq(&rq->queuelist));
}