linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] blk-wbt: fix two wbt enable problems
@ 2021-06-19  9:36 Zhang Yi
  2021-06-19  9:36 ` [PATCH 1/2] blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled() Zhang Yi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhang Yi @ 2021-06-19  9:36 UTC (permalink / raw)
  To: linux-block; +Cc: axboe, jbacik, yi.zhang, yukuai3

Commit a79050434b45 ("blk-rq-qos: refactor out common elements of
blk-wbt") introduce two wbt enable problems. The first one will cause
false positive check by rwb_enabled() and lead to IO hung, the second
one is wbt_enable_default() could not re-enable wbt after switch
elevator back from bfq to other one.

Zhang Yi (2):
  blk-wbt: introduce a new disable state to prevent false positive by
    rwb_enabled()
  blk-wbt: make sure throttle is enabled properly

 block/blk-wbt.c | 11 ++++++++---
 block/blk-wbt.h |  1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-06-21 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-19  9:36 [PATCH 0/2] blk-wbt: fix two wbt enable problems Zhang Yi
2021-06-19  9:36 ` [PATCH 1/2] blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled() Zhang Yi
2021-06-19  9:37 ` [PATCH 2/2] blk-wbt: make sure throttle is enabled properly Zhang Yi
2021-06-21 16:07 ` [PATCH 0/2] blk-wbt: fix two wbt enable problems Jens Axboe

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