linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET v2 block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy
@ 2023-01-05 21:24 Tejun Heo
  2023-01-05 21:24 ` [PATCH 1/4] blkcg: Drop unnecessary RCU read [un]locks from blkg_conf_prep/finish() Tejun Heo
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Tejun Heo @ 2023-01-05 21:24 UTC (permalink / raw)
  To: axboe, josef, hch; +Cc: linux-block, linux-kernel

Hello,

v2 fixes the build failure caused by v1[1] forgetting to update bfq.

This patchset:

* Improves blkg config helpers so that they can be used consistently for all
  the existing use cases. This also allows keeps using the same bdev open
  instance across lazy init of rq_qos policies.

* Updates iolatency so that it initializes lazily when a latency target is
  set for the first time. This avoids registering the rq_qos policy when
  iolatency is not used which removes unnecessary calls into iolat from IO
  hot paths.

and contains the following four patches:

 0001-blkcg-Drop-unnecessary-RCU-read-un-locks-from-blkg_c.patch
 0002-blkcg-Restructure-blkg_conf_prep-and-friends.patch
 0003-blk-iolatency-s-blkcg_rq_qos-iolat_rq_qos.patch
 0004-blk-iolatency-Make-initialization-lazy.patch

and is also available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git iolat-lazy-init-v2

diffstat follows. Thanks.

 block/bfq-cgroup.c    |    8 +++--
 block/blk-cgroup.c    |  120 ++++++++++++++++++++++++++++++++++++++++++----------------------------------
 block/blk-cgroup.h    |   10 +++---
 block/blk-iocost.c    |   58 +++++++++++++++++++++---------------
 block/blk-iolatency.c |   39 +++++++++++++++++++++---
 block/blk-rq-qos.h    |    2 -
 block/blk-throttle.c  |   16 ++++++----
 block/blk.h           |    6 ---
 8 files changed, 157 insertions(+), 102 deletions(-)

[1] https://lkml.kernel.org/r/20230105002007.157497-1-tj@kernel.org

--
tejun




^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCHSET v4 block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy
@ 2023-04-13  0:06 Tejun Heo
  2023-04-13  0:06 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo
  0 siblings, 1 reply; 16+ messages in thread
From: Tejun Heo @ 2023-04-13  0:06 UTC (permalink / raw)
  To: axboe, josef, hch; +Cc: linux-block, linux-kernel, yukuai1

Hello,

* v2[2] fixes the build failure caused by v1[1] forgetting to update bfq.

* v3[3] drops __acuquires/__releases() changes and updates patch descriptions.

* v4 rebases on top of the current block/for-next.

This patchset:

* Improves blkg config helpers so that they can be used consistently for all
  the existing use cases. This also allows keeps using the same bdev open
  instance across lazy init of rq_qos policies.

* Updates iolatency so that it initializes lazily when a latency target is
  set for the first time. This avoids registering the rq_qos policy when
  iolatency is not used which removes unnecessary calls into iolat from IO
  hot paths.

and contains the following four patches:

 0001-blkcg-Drop-unnecessary-RCU-read-un-locks-from-blkg_c.patch
 0002-blkcg-Restructure-blkg_conf_prep-and-friends.patch
 0003-blk-iolatency-s-blkcg_rq_qos-iolat_rq_qos.patch
 0004-blk-iolatency-Make-initialization-lazy.patch

and is also available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git iolat-lazy-init-v4

diffstat follows. Thanks.

 block/bfq-cgroup.c    |    8 ++-
 block/blk-cgroup.c    |  122 ++++++++++++++++++++++++++++----------------------
 block/blk-cgroup.h    |   10 ++--
 block/blk-iocost.c    |   58 +++++++++++++----------
 block/blk-iolatency.c |   39 +++++++++++++--
 block/blk-rq-qos.h    |    2 
 block/blk-throttle.c  |   16 ++++--
 block/blk.h           |    6 --
 8 files changed, 159 insertions(+), 102 deletions(-)

[1] https://lkml.kernel.org/r/20230105002007.157497-1-tj@kernel.org
[2] https://lkml.kernel.org/r/20230105212432.289569-1-tj@kernel.org
[3] https://lkml.kernel.org/r/20230110222714.552241-1-tj@kernel.org


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCHSET v3 block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy
@ 2023-01-10 22:27 Tejun Heo
  2023-01-10 22:27 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo
  0 siblings, 1 reply; 16+ messages in thread
From: Tejun Heo @ 2023-01-10 22:27 UTC (permalink / raw)
  To: axboe, josef, hch; +Cc: linux-block, linux-kernel

Hello,

* v2[2] fixes the build failure caused by v1[1] forgetting to update bfq.

* v3 drops __acuquires/__releases() changes and updates patch descriptions.

This patchset:

* Improves blkg config helpers so that they can be used consistently for all
  the existing use cases. This also allows keeps using the same bdev open
  instance across lazy init of rq_qos policies.

* Updates iolatency so that it initializes lazily when a latency target is
  set for the first time. This avoids registering the rq_qos policy when
  iolatency is not used which removes unnecessary calls into iolat from IO
  hot paths.

and contains the following four patches:

 0001-blkcg-Drop-unnecessary-RCU-read-un-locks-from-blkg_c.patch
 0002-blkcg-Restructure-blkg_conf_prep-and-friends.patch
 0003-blk-iolatency-s-blkcg_rq_qos-iolat_rq_qos.patch
 0004-blk-iolatency-Make-initialization-lazy.patch

and is also available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git iolat-lazy-init-v2

diffstat follows. Thanks.

 block/bfq-cgroup.c    |    8 ++-
 block/blk-cgroup.c    |  122 ++++++++++++++++++++++++++++----------------------
 block/blk-cgroup.h    |   10 ++--
 block/blk-iocost.c    |   58 +++++++++++++----------
 block/blk-iolatency.c |   39 +++++++++++++--
 block/blk-rq-qos.h    |    2 
 block/blk-throttle.c  |   16 ++++--
 block/blk.h           |    6 --
 8 files changed, 159 insertions(+), 102 deletions(-)

[1] https://lkml.kernel.org/r/20230105002007.157497-1-tj@kernel.org
[2] https://lkml.kernel.org/r/20230105212432.289569-1-tj@kernel.org

--
tejun


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCHSET block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy
@ 2023-01-05  0:20 Tejun Heo
  2023-01-05  0:20 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo
  0 siblings, 1 reply; 16+ messages in thread
From: Tejun Heo @ 2023-01-05  0:20 UTC (permalink / raw)
  To: axboe, josef, hch; +Cc: linux-block, linux-kernel

Hello,

* Improve blkg config helpers so that they can be used consistently for all
  the existing use cases. This also allows keeps using the same bdev open
  instance across lazy init of rq_qos policies.

* Update iolatency so that it initializes lazily when a latency target is
  set for the first time. This avoids registering the rq_qos policy when
  iolatency is not used which removes unnecessary calls into iolat from IO
  hot paths.

This patchset contains the following four patches:

 0001-blkcg-Drop-unnecessary-RCU-read-un-locks-from-blkg_c.patch
 0002-blkcg-Restructure-blkg_conf_prep-and-friends.patch
 0003-blk-iolatency-s-blkcg_rq_qos-iolat_rq_qos.patch
 0004-blk-iolatency-Make-initialization-lazy.patch

and is also available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git iolat-lazy-init

diffstat follows. Thanks.

 block/blk-cgroup.c    |  120 +++++++++++++++++++++++++++-----------------------
 block/blk-cgroup.h    |   10 ++--
 block/blk-iocost.c    |   58 ++++++++++++++----------
 block/blk-iolatency.c |   39 ++++++++++++++--
 block/blk-rq-qos.h    |    2 
 block/blk-throttle.c  |   16 ++++--
 block/blk.h           |    6 --
 7 files changed, 152 insertions(+), 99 deletions(-)

--
tejun


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-04-13  0:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-05 21:24 [PATCHSET v2 block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy Tejun Heo
2023-01-05 21:24 ` [PATCH 1/4] blkcg: Drop unnecessary RCU read [un]locks from blkg_conf_prep/finish() Tejun Heo
2023-01-08 17:02   ` Christoph Hellwig
2023-01-09 20:48     ` Tejun Heo
2023-01-10  6:49       ` Christoph Hellwig
2023-01-10 18:24         ` Tejun Heo
2023-01-05 21:24 ` [PATCH 2/4] blkcg: Restructure blkg_conf_prep() and friends Tejun Heo
2023-01-10  7:09   ` Christoph Hellwig
2023-01-10 18:33     ` Tejun Heo
2023-01-05 21:24 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo
2023-01-10  7:09   ` Christoph Hellwig
2023-01-05 21:24 ` [PATCH 4/4] blk-iolatency: Make initialization lazy Tejun Heo
2023-01-10  7:10   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2023-04-13  0:06 [PATCHSET v4 block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy Tejun Heo
2023-04-13  0:06 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo
2023-01-10 22:27 [PATCHSET v3 block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy Tejun Heo
2023-01-10 22:27 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo
2023-01-05  0:20 [PATCHSET block/for-next] blkcg: Improve blkg config helpers and make iolatency init lazy Tejun Heo
2023-01-05  0:20 ` [PATCH 3/4] blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).