diff mbox series

block: add missing request flags to debugfs code

Message ID cf3a0c34-9969-27e2-5fb7-5b5263e0af1d@kernel.dk (mailing list archive)
State New, archived
Headers show
Series block: add missing request flags to debugfs code | expand

Commit Message

Jens Axboe Sept. 8, 2022, 11:28 p.m. UTC
We're missing TIMED_OUT and RESV. Particularly the former is handy
for debugging, let's get them added.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

---

Comments

Bart Van Assche Sept. 9, 2022, 2:36 a.m. UTC | #1
On 9/8/22 16:28, Jens Axboe wrote:
> We're missing TIMED_OUT and RESV. Particularly the former is handy
> for debugging, let's get them added.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
diff mbox series

Patch

diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 8559cea7f300..dee789f2f98f 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -283,7 +283,9 @@  static const char *const rqf_name[] = {
 	RQF_NAME(SPECIAL_PAYLOAD),
 	RQF_NAME(ZONE_WRITE_LOCKED),
 	RQF_NAME(MQ_POLL_SLEPT),
+	RQF_NAME(TIMED_OUT),
 	RQF_NAME(ELV),
+	RQF_NAME(RESV),
 };
 #undef RQF_NAME