mbox series

[RESEND,0/3] blk-mq: allow hardware queue to get more tag while sharing a tag set

Message ID 20220117085455.2269760-1-yukuai3@huawei.com (mailing list archive)
Headers show
Series blk-mq: allow hardware queue to get more tag while sharing a tag set | expand

Message

Yu Kuai Jan. 17, 2022, 8:54 a.m. UTC
Previous patch: https://lkml.org/lkml/2021/7/11/343

If there are multiple active queues while sharing a tag set, the available
tags is limit to fair share for each active queue. This patchset take
off such restriction if no one ever failed to get driver tag.

Yu Kuai (3):
  blk-mq: add new interfaces to track if hctx failed to get driver tag
  blk-mq: record how many hctx failed to get driver tag while sharing a
    tag set
  blk-mq: allow hardware queue to get more tag while sharing a tag set

 block/blk-mq-debugfs.c |  2 ++
 block/blk-mq-tag.c     | 45 +++++++++++++++++++++++++++++++++++++++++-
 block/blk-mq-tag.h     | 22 +++++++++++++++++++--
 block/blk-mq.c         | 13 +++++++++---
 block/blk-mq.h         |  4 ++++
 include/linux/blk-mq.h | 12 +++++++++++
 include/linux/blkdev.h |  2 ++
 7 files changed, 94 insertions(+), 6 deletions(-)

Comments

Yu Kuai Jan. 24, 2022, 3:46 a.m. UTC | #1
在 2022/01/17 16:54, Yu Kuai 写道:
> Previous patch: https://lkml.org/lkml/2021/7/11/343
> 
> If there are multiple active queues while sharing a tag set, the available
> tags is limit to fair share for each active queue. This patchset take
> off such restriction if no one ever failed to get driver tag.
> 
> Yu Kuai (3):
>    blk-mq: add new interfaces to track if hctx failed to get driver tag
>    blk-mq: record how many hctx failed to get driver tag while sharing a
>      tag set
>    blk-mq: allow hardware queue to get more tag while sharing a tag set
> 
>   block/blk-mq-debugfs.c |  2 ++
>   block/blk-mq-tag.c     | 45 +++++++++++++++++++++++++++++++++++++++++-
>   block/blk-mq-tag.h     | 22 +++++++++++++++++++--
>   block/blk-mq.c         | 13 +++++++++---
>   block/blk-mq.h         |  4 ++++
>   include/linux/blk-mq.h | 12 +++++++++++
>   include/linux/blkdev.h |  2 ++
>   7 files changed, 94 insertions(+), 6 deletions(-)
> 

Friendly ping ...