mbox series

[0/2] block, bfq: make bfq disable iocost and present a double interface

Message ID 20191001193316.3330-1-paolo.valente@linaro.org
Headers show
Series block, bfq: make bfq disable iocost and present a double interface | expand

Message

Paolo Valente Oct. 1, 2019, 7:33 p.m. UTC
Hi Jens,

the first patch in this series is Tejun's patch for making BFQ disable
io.cost. The second patch makes BFQ present both the bfq-prefixes
parameters and non-prefixed parameters, as suggested by Tejun [1].

In the first patch I've tried to use macros not to repeat code
twice. checkpatch complains that these macros should be enclosed in
parentheses. I don't see how to do it. I'm willing to switch to any
better solution.

Thanks,
Paolo

[1] https://lkml.org/lkml/2019/9/18/736

Paolo Valente (1):
  block, bfq: present a double cgroups interface

Tejun Heo (1):
  blkcg: Make bfq disable iocost when enabled

 Documentation/admin-guide/cgroup-v2.rst |   8 +-
 Documentation/block/bfq-iosched.rst     |  40 ++--
 block/bfq-cgroup.c                      | 260 ++++++++++++------------
 block/bfq-iosched.c                     |  32 +++
 block/blk-iocost.c                      |   5 +-
 include/linux/blk-cgroup.h              |   5 +
 kernel/cgroup/cgroup.c                  |   2 +
 7 files changed, 201 insertions(+), 151 deletions(-)

--
2.20.1

Comments

Paolo Valente Oct. 9, 2019, 2:25 p.m. UTC | #1
Jens, Tejun,
can we proceed with this double-interface solution?

Thanks,
Paolo

> Il giorno 1 ott 2019, alle ore 21:33, Paolo Valente <paolo.valente@linaro.org> ha scritto:

> 

> Hi Jens,

> 

> the first patch in this series is Tejun's patch for making BFQ disable

> io.cost. The second patch makes BFQ present both the bfq-prefixes

> parameters and non-prefixed parameters, as suggested by Tejun [1].

> 

> In the first patch I've tried to use macros not to repeat code

> twice. checkpatch complains that these macros should be enclosed in

> parentheses. I don't see how to do it. I'm willing to switch to any

> better solution.

> 

> Thanks,

> Paolo

> 

> [1] https://lkml.org/lkml/2019/9/18/736

> 

> Paolo Valente (1):

>  block, bfq: present a double cgroups interface

> 

> Tejun Heo (1):

>  blkcg: Make bfq disable iocost when enabled

> 

> Documentation/admin-guide/cgroup-v2.rst |   8 +-

> Documentation/block/bfq-iosched.rst     |  40 ++--

> block/bfq-cgroup.c                      | 260 ++++++++++++------------

> block/bfq-iosched.c                     |  32 +++

> block/blk-iocost.c                      |   5 +-

> include/linux/blk-cgroup.h              |   5 +

> kernel/cgroup/cgroup.c                  |   2 +

> 7 files changed, 201 insertions(+), 151 deletions(-)

> 

> --

> 2.20.1
Paolo Valente Oct. 23, 2019, 5:44 a.m. UTC | #2
ping

> Il giorno 9 ott 2019, alle ore 16:25, Paolo Valente <paolo.valente@linaro.org> ha scritto:

> 

> Jens, Tejun,

> can we proceed with this double-interface solution?

> 

> Thanks,

> Paolo

> 

>> Il giorno 1 ott 2019, alle ore 21:33, Paolo Valente <paolo.valente@linaro.org> ha scritto:

>> 

>> Hi Jens,

>> 

>> the first patch in this series is Tejun's patch for making BFQ disable

>> io.cost. The second patch makes BFQ present both the bfq-prefixes

>> parameters and non-prefixed parameters, as suggested by Tejun [1].

>> 

>> In the first patch I've tried to use macros not to repeat code

>> twice. checkpatch complains that these macros should be enclosed in

>> parentheses. I don't see how to do it. I'm willing to switch to any

>> better solution.

>> 

>> Thanks,

>> Paolo

>> 

>> [1] https://lkml.org/lkml/2019/9/18/736

>> 

>> Paolo Valente (1):

>> block, bfq: present a double cgroups interface

>> 

>> Tejun Heo (1):

>> blkcg: Make bfq disable iocost when enabled

>> 

>> Documentation/admin-guide/cgroup-v2.rst |   8 +-

>> Documentation/block/bfq-iosched.rst     |  40 ++--

>> block/bfq-cgroup.c                      | 260 ++++++++++++------------

>> block/bfq-iosched.c                     |  32 +++

>> block/blk-iocost.c                      |   5 +-

>> include/linux/blk-cgroup.h              |   5 +

>> kernel/cgroup/cgroup.c                  |   2 +

>> 7 files changed, 201 insertions(+), 151 deletions(-)

>> 

>> --

>> 2.20.1

>
Paolo Valente Nov. 4, 2019, 6:55 a.m. UTC | #3
Hi Jens,
no issue has been raised in more than a month, and this version was
requested by Tejun and is backed by you. So can it be queued for 5.5?

Thanks,
Paolo

> Il giorno 23 ott 2019, alle ore 07:44, Paolo Valente <paolo.valente@linaro.org> ha scritto:

> 

> ping

> 

>> Il giorno 9 ott 2019, alle ore 16:25, Paolo Valente <paolo.valente@linaro.org> ha scritto:

>> 

>> Jens, Tejun,

>> can we proceed with this double-interface solution?

>> 

>> Thanks,

>> Paolo

>> 

>>> Il giorno 1 ott 2019, alle ore 21:33, Paolo Valente <paolo.valente@linaro.org> ha scritto:

>>> 

>>> Hi Jens,

>>> 

>>> the first patch in this series is Tejun's patch for making BFQ disable

>>> io.cost. The second patch makes BFQ present both the bfq-prefixes

>>> parameters and non-prefixed parameters, as suggested by Tejun [1].

>>> 

>>> In the first patch I've tried to use macros not to repeat code

>>> twice. checkpatch complains that these macros should be enclosed in

>>> parentheses. I don't see how to do it. I'm willing to switch to any

>>> better solution.

>>> 

>>> Thanks,

>>> Paolo

>>> 

>>> [1] https://lkml.org/lkml/2019/9/18/736

>>> 

>>> Paolo Valente (1):

>>> block, bfq: present a double cgroups interface

>>> 

>>> Tejun Heo (1):

>>> blkcg: Make bfq disable iocost when enabled

>>> 

>>> Documentation/admin-guide/cgroup-v2.rst |   8 +-

>>> Documentation/block/bfq-iosched.rst     |  40 ++--

>>> block/bfq-cgroup.c                      | 260 ++++++++++++------------

>>> block/bfq-iosched.c                     |  32 +++

>>> block/blk-iocost.c                      |   5 +-

>>> include/linux/blk-cgroup.h              |   5 +

>>> kernel/cgroup/cgroup.c                  |   2 +

>>> 7 files changed, 201 insertions(+), 151 deletions(-)

>>> 

>>> --

>>> 2.20.1

>> 

>
Paolo Valente Nov. 22, 2019, 3:42 p.m. UTC | #4
Jens,
5.5 has arrived too, and this version should do what you asked.  Can
you please consider this series?

Thanks,
Paolo

> Il giorno 4 nov 2019, alle ore 07:55, Paolo Valente <paolo.valente@linaro.org> ha scritto:

> 

> Hi Jens,

> no issue has been raised in more than a month, and this version was

> requested by Tejun and is backed by you. So can it be queued for 5.5?

> 

> Thanks,

> Paolo

> 

>> Il giorno 23 ott 2019, alle ore 07:44, Paolo Valente <paolo.valente@linaro.org> ha scritto:

>> 

>> ping

>> 

>>> Il giorno 9 ott 2019, alle ore 16:25, Paolo Valente <paolo.valente@linaro.org> ha scritto:

>>> 

>>> Jens, Tejun,

>>> can we proceed with this double-interface solution?

>>> 

>>> Thanks,

>>> Paolo

>>> 

>>>> Il giorno 1 ott 2019, alle ore 21:33, Paolo Valente <paolo.valente@linaro.org> ha scritto:

>>>> 

>>>> Hi Jens,

>>>> 

>>>> the first patch in this series is Tejun's patch for making BFQ disable

>>>> io.cost. The second patch makes BFQ present both the bfq-prefixes

>>>> parameters and non-prefixed parameters, as suggested by Tejun [1].

>>>> 

>>>> In the first patch I've tried to use macros not to repeat code

>>>> twice. checkpatch complains that these macros should be enclosed in

>>>> parentheses. I don't see how to do it. I'm willing to switch to any

>>>> better solution.

>>>> 

>>>> Thanks,

>>>> Paolo

>>>> 

>>>> [1] https://lkml.org/lkml/2019/9/18/736

>>>> 

>>>> Paolo Valente (1):

>>>> block, bfq: present a double cgroups interface

>>>> 

>>>> Tejun Heo (1):

>>>> blkcg: Make bfq disable iocost when enabled

>>>> 

>>>> Documentation/admin-guide/cgroup-v2.rst |   8 +-

>>>> Documentation/block/bfq-iosched.rst     |  40 ++--

>>>> block/bfq-cgroup.c                      | 260 ++++++++++++------------

>>>> block/bfq-iosched.c                     |  32 +++

>>>> block/blk-iocost.c                      |   5 +-

>>>> include/linux/blk-cgroup.h              |   5 +

>>>> kernel/cgroup/cgroup.c                  |   2 +

>>>> 7 files changed, 201 insertions(+), 151 deletions(-)

>>>> 

>>>> --

>>>> 2.20.1

>>> 

>> 

>