cfq-iosched: Add comments on update timing of weight
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Thu, 28 Aug 2014 08:14:58 +0000 (17:14 +0900)
committerJens Axboe <axboe@fb.com>
Thu, 28 Aug 2014 14:16:29 +0000 (08:16 -0600)
commit7b5af5cffce569298b1d03af1ddf1dc43570ab42
tree5dde60d7c4ff816ffd8cb2c48207f7d770718ef8
parente15693ef18e13e3e6bffe891fe140f18b8ff6d07
cfq-iosched: Add comments on update timing of weight

Explain that weight has to be updated on activation.
This complements previous fix e15693ef18e1 ("cfq-iosched: Fix wrong
children_weight calculation").

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c