Message ID | 20170818154711.11906-1-bart.vanassche@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, 2017-08-18 at 08:47 -0700, Bart Van Assche wrote: > diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c > index e53b6129ca5a..9fac2915d897 100644 > --- a/block/blk-mq-debugfs.c > +++ b/block/blk-mq-debugfs.c > @@ -73,6 +73,8 @@ static const char *const blk_queue_flag_name[] = { > QUEUE_FLAG_NAME(STATS), > QUEUE_FLAG_NAME(POLL_STATS), > QUEUE_FLAG_NAME(REGISTERED), > + QUEUE_FLAG_NAME(PASSTHROUGH), > + QUEUE_FLAG_NAME(QUIESCED), > }; > #undef QUEUE_FLAG_NAME > > @@ -263,6 +265,7 @@ static const char *const cmd_flag_name[] = { > CMD_FLAG_NAME(RAHEAD), > CMD_FLAG_NAME(BACKGROUND), > CMD_FLAG_NAME(NOUNMAP), > + CMD_FLAG_NAME(NOWAIT), > }; > #undef CMD_FLAG_NAME Please ignore this patch - it doesn't build. I will send a v2. Bart.
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index e53b6129ca5a..9fac2915d897 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -73,6 +73,8 @@ static const char *const blk_queue_flag_name[] = { QUEUE_FLAG_NAME(STATS), QUEUE_FLAG_NAME(POLL_STATS), QUEUE_FLAG_NAME(REGISTERED), + QUEUE_FLAG_NAME(PASSTHROUGH), + QUEUE_FLAG_NAME(QUIESCED), }; #undef QUEUE_FLAG_NAME @@ -263,6 +265,7 @@ static const char *const cmd_flag_name[] = { CMD_FLAG_NAME(RAHEAD), CMD_FLAG_NAME(BACKGROUND), CMD_FLAG_NAME(NOUNMAP), + CMD_FLAG_NAME(NOWAIT), }; #undef CMD_FLAG_NAME
The symbolic constants QUEUE_FLAG_SCSI_PASSTHROUGH, QUEUE_FLAG_QUIESCED and REQ_NOWAIT are missing from blk-mq-debugfs.c. Add these to blk-mq-debugfs.c such that these appear as names in debugfs instead of as numbers. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Hannes Reinecke <hare@suse.com> --- block/blk-mq-debugfs.c | 3 +++ 1 file changed, 3 insertions(+)