Skip to content

Commit 85ba3ef

Browse files
committed
blk-mq: add missing RQF_STARTED to debugfs
Looking at debug output, we see: ./000000009ddfa913/requeue_list:000000009646711c {.op=READ, .state=idle, gen=0x1 18, abort_gen=0x0, .cmd_flags=, .rq_flags=SORTED|1|SOFTBARRIER|IO_STAT, complete =0, .tag=-1, .internal_tag=217} Note the '1' between SORTED and SOFTBARRIER - that's because no name as defined for RQF_STARTED. Fixed that. Signed-off-by: Jens Axboe <[email protected]>
1 parent 20e4d81 commit 85ba3ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/blk-mq-debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ static const char *const cmd_flag_name[] = {
271271
#define RQF_NAME(name) [ilog2((__force u32)RQF_##name)] = #name
272272
static const char *const rqf_name[] = {
273273
RQF_NAME(SORTED),
274+
RQF_NAME(STARTED),
274275
RQF_NAME(QUEUED),
275276
RQF_NAME(SOFTBARRIER),
276277
RQF_NAME(FLUSH_SEQ),

0 commit comments

Comments
 (0)