summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2016-06-30 02:26:47 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-01 11:03:43 +0200
commitab12cb4742cf608cfee43c84fe07fa56bd473dcb (patch)
tree00a960cf56b56a0387e63af15e921ae0168bc6ef /block/blk-throttle.c
parentnet/sched/sch_hfsc.c: remove leftover dlist and droplist (diff)
downloadlinux-ab12cb4742cf608cfee43c84fe07fa56bd473dcb.tar.xz
linux-ab12cb4742cf608cfee43c84fe07fa56bd473dcb.zip
net/sched/sch_hfsc.c: go passive after vt update
When a class is going passive, it should update its cl_vt first to be consistent with the last dequeue operation. Otherwise its cl_vt will be one packet behind and parent's cvtmax might not be updated as well. One possible side effect is if some class goes passive and subsequently goes active /without/ its parent going passive - with cl_vt lagging one packet behind - comparison made in init_vf() will be affected (same period). Signed-off-by: Michal Soltys <soltys@ziu.info> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions