Commit 85ba3eff authored by Jens Axboe's avatar Jens Axboe

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: default avatarJens Axboe <axboe@kernel.dk>
parent 20e4d813
...@@ -271,6 +271,7 @@ static const char *const cmd_flag_name[] = { ...@@ -271,6 +271,7 @@ static const char *const cmd_flag_name[] = {
#define RQF_NAME(name) [ilog2((__force u32)RQF_##name)] = #name #define RQF_NAME(name) [ilog2((__force u32)RQF_##name)] = #name
static const char *const rqf_name[] = { static const char *const rqf_name[] = {
RQF_NAME(SORTED), RQF_NAME(SORTED),
RQF_NAME(STARTED),
RQF_NAME(QUEUED), RQF_NAME(QUEUED),
RQF_NAME(SOFTBARRIER), RQF_NAME(SOFTBARRIER),
RQF_NAME(FLUSH_SEQ), RQF_NAME(FLUSH_SEQ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment