diff options
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r-- | block/blk-throttle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 31146225f3d0..3960787358b6 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c | |||
@@ -816,10 +816,8 @@ static int throtl_select_dispatch(struct throtl_data *td, struct bio_list *bl) | |||
816 | 816 | ||
817 | nr_disp += throtl_dispatch_tg(td, tg, bl); | 817 | nr_disp += throtl_dispatch_tg(td, tg, bl); |
818 | 818 | ||
819 | if (tg->nr_queued[0] || tg->nr_queued[1]) { | 819 | if (tg->nr_queued[0] || tg->nr_queued[1]) |
820 | tg_update_disptime(td, tg); | 820 | tg_update_disptime(td, tg); |
821 | throtl_enqueue_tg(td, tg); | ||
822 | } | ||
823 | 821 | ||
824 | if (nr_disp >= throtl_quantum) | 822 | if (nr_disp >= throtl_quantum) |
825 | break; | 823 | break; |