Skip to content

Commit cafa017

Browse files
committed
Merge tag 'for-linus-20181012' of git://git.kernel.dk/linux-block
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
2 parents ed66c25 + 5e65a20 commit cafa017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/blk-wbt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ static void scale_up(struct rq_wb *rwb)
310310
rq_depth_scale_up(&rwb->rq_depth);
311311
calc_wb_limits(rwb);
312312
rwb->unknown_cnt = 0;
313+
rwb_wake_all(rwb);
313314
rwb_trace_step(rwb, "scale up");
314315
}
315316

@@ -318,7 +319,6 @@ static void scale_down(struct rq_wb *rwb, bool hard_throttle)
318319
rq_depth_scale_down(&rwb->rq_depth, hard_throttle);
319320
calc_wb_limits(rwb);
320321
rwb->unknown_cnt = 0;
321-
rwb_wake_all(rwb);
322322
rwb_trace_step(rwb, "scale down");
323323
}
324324

0 commit comments

Comments
 (0)