diff mbox

[4/4] blk-mq: dump new introduced flag of BLK_MQ_F_SCHED_USE_HW_TAG

Message ID 20170428151539.25514-5-ming.lei@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ming Lei April 28, 2017, 3:15 p.m. UTC
Signed-off-by: Ming Lei <ming.lei@redhat.com>
---
 block/blk-mq-debugfs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bart Van Assche April 28, 2017, 6:10 p.m. UTC | #1
On Fri, 2017-04-28 at 23:15 +0800, Ming Lei wrote:
> Signed-off-by: Ming Lei <ming.lei@redhat.com>
> ---
>  block/blk-mq-debugfs.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
> index bcd2a7d4a3a5..bc390847a60d 100644
> --- a/block/blk-mq-debugfs.c
> +++ b/block/blk-mq-debugfs.c
> @@ -220,6 +220,7 @@ static const char *const hctx_flag_name[] = {
>  	[ilog2(BLK_MQ_F_SG_MERGE)]	= "SG_MERGE",
>  	[ilog2(BLK_MQ_F_BLOCKING)]	= "BLOCKING",
>  	[ilog2(BLK_MQ_F_NO_SCHED)]	= "NO_SCHED",
> +	[ilog2(BLK_MQ_F_SCHED_USE_HW_TAG)]	= "SCHED_USE_HW_TAG",
>  };
>  
>  static int hctx_flags_show(struct seq_file *m, void *v)

Hello Ming,

Please combine patches 1/4 and 4/4.

Thanks,

Bart.
Ming Lei April 29, 2017, 11 a.m. UTC | #2
On Fri, Apr 28, 2017 at 06:10:22PM +0000, Bart Van Assche wrote:
> On Fri, 2017-04-28 at 23:15 +0800, Ming Lei wrote:
> > Signed-off-by: Ming Lei <ming.lei@redhat.com>
> > ---
> >  block/blk-mq-debugfs.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
> > index bcd2a7d4a3a5..bc390847a60d 100644
> > --- a/block/blk-mq-debugfs.c
> > +++ b/block/blk-mq-debugfs.c
> > @@ -220,6 +220,7 @@ static const char *const hctx_flag_name[] = {
> >  	[ilog2(BLK_MQ_F_SG_MERGE)]	= "SG_MERGE",
> >  	[ilog2(BLK_MQ_F_BLOCKING)]	= "BLOCKING",
> >  	[ilog2(BLK_MQ_F_NO_SCHED)]	= "NO_SCHED",
> > +	[ilog2(BLK_MQ_F_SCHED_USE_HW_TAG)]	= "SCHED_USE_HW_TAG",
> >  };
> >  
> >  static int hctx_flags_show(struct seq_file *m, void *v)
> 
> Hello Ming,
> 
> Please combine patches 1/4 and 4/4.

OK!


Thanks,
Ming
diff mbox

Patch

diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index bcd2a7d4a3a5..bc390847a60d 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -220,6 +220,7 @@  static const char *const hctx_flag_name[] = {
 	[ilog2(BLK_MQ_F_SG_MERGE)]	= "SG_MERGE",
 	[ilog2(BLK_MQ_F_BLOCKING)]	= "BLOCKING",
 	[ilog2(BLK_MQ_F_NO_SCHED)]	= "NO_SCHED",
+	[ilog2(BLK_MQ_F_SCHED_USE_HW_TAG)]	= "SCHED_USE_HW_TAG",
 };
 
 static int hctx_flags_show(struct seq_file *m, void *v)