linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] optimize the bfq queue idle judgment
@ 2021-10-14  1:45 Yu Kuai
  2021-10-14  1:45 ` [PATCH v4 1/2] block, bfq: counted root group into 'num_groups_with_pending_reqs' Yu Kuai
  2021-10-14  1:45 ` [PATCH v4 2/2] block, bfq: do not idle if only one cgroup is activated Yu Kuai
  0 siblings, 2 replies; 9+ messages in thread
From: Yu Kuai @ 2021-10-14  1:45 UTC (permalink / raw)
  To: paolo.valente, axboe; +Cc: linux-block, linux-kernel, yukuai3, yi.zhang

Changes in V4:
 - fix a compile warning when CONFIG_BLK_CGROUP is not enabled.

Changes in V3:
 - Instead of tracking each queue in root group, tracking root group
 directly just like non-root group does.
 - remove patch 3,4 from these series.

Chagnes in V2:
 - as suggested by Paolo, add support to track if root_group have any
 pending requests, and use that to handle the situation when only one
 group is activated while root group doesn't have any pending requests.
 - modify commit message in patch 2

Yu Kuai (2):
  block, bfq: counted root group into 'num_groups_with_pending_reqs'
  block, bfq: do not idle if only one cgroup is activated

 block/bfq-iosched.c | 40 ++++++++++++++++++++++++++++--------
 block/bfq-wf2q.c    | 50 +++++++++++++++++++++++++++++++++------------
 2 files changed, 69 insertions(+), 21 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-10-20 11:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14  1:45 [PATCH v4 0/2] optimize the bfq queue idle judgment Yu Kuai
2021-10-14  1:45 ` [PATCH v4 1/2] block, bfq: counted root group into 'num_groups_with_pending_reqs' Yu Kuai
2021-10-20  8:51   ` Paolo Valente
2021-10-20  9:20     ` yukuai (C)
2021-10-20  9:29       ` Paolo Valente
2021-10-20  9:38         ` yukuai (C)
2021-10-20  9:43           ` Paolo Valente
2021-10-20 11:53             ` yukuai (C)
2021-10-14  1:45 ` [PATCH v4 2/2] block, bfq: do not idle if only one cgroup is activated Yu Kuai

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).