Jens writes: "block fix for 4.19-rc Just a single fix that should go in, fixing a regression introduced in the blk-wbt code." * tag 'for-linus-20181012' of git://git.kernel.dk/linux-block: blk-wbt: wake up all when we scale up, not down
Unified · Split
| @@ -310,6 +310,7 @@ static void scale_up(struct rq_wb *rwb) · 309 unmodified lines | |||
| 310 | rq_depth_scale_up(&rwb->rq_depth); | 310 | rq_depth_scale_up(&rwb->rq_depth); |
| 311 | calc_wb_limits(rwb); | 311 | calc_wb_limits(rwb); |
| 312 | rwb->unknown_cnt = 0; | 312 | rwb->unknown_cnt = 0; |
| 313 | rwb_wake_all(rwb); | ||
| 313 | rwb_trace_step(rwb, "scale up"); | 314 | rwb_trace_step(rwb, "scale up"); |
| 314 | } | 315 | } |
| 315 | 316 | ||
| @@ -318,7 +319,6 @@ static void scale_down(struct rq_wb *rwb, bool hard_throttle) · 2 unmodified lines | |||
| 318 | rq_depth_scale_down(&rwb->rq_depth, hard_throttle); | 319 | rq_depth_scale_down(&rwb->rq_depth, hard_throttle); |
| 319 | calc_wb_limits(rwb); | 320 | calc_wb_limits(rwb); |
| 320 | rwb->unknown_cnt = 0; | 321 | rwb->unknown_cnt = 0; |
| 321 | rwb_wake_all(rwb); | ||
| 322 | rwb_trace_step(rwb, "scale down"); | 322 | rwb_trace_step(rwb, "scale down"); |
| 323 | } | 323 | } |
| 324 | 324 | ||