summaryrefslogtreecommitdiffstats
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2017-07-12 15:25:01 +0800
committerJens Axboe <axboe@kernel.dk>2017-07-12 08:32:02 -0600
commit38c9140740eb0993924b676a111c164903163b1e (patch)
tree079c5055fc98bf7a3beb4b3d00cd5e48e1665393 /block/bfq-iosched.h
parent3b06b1a7448ee4e8e51dae3938774735404e51fb (diff)
downloadlinux-0-day-38c9140740eb0993924b676a111c164903163b1e.tar.gz
linux-0-day-38c9140740eb0993924b676a111c164903163b1e.tar.xz
bfq: fix typos in comments about B-WF2Q+ algorithm
The start time of eligible entity should be less than or equal to the current virtual time, and the entity in idle tree has a finish time being greater than the current virtual time. Signed-off-by: Hou Tao <houtao1@huawei.com> Reviewed-by: Paolo Valente <paolo.valente@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
-rw-r--r--block/bfq-iosched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 8fd83b8857743..63e771ab56d80 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -52,7 +52,7 @@ struct bfq_entity;
struct bfq_service_tree {
/* tree for active entities (i.e., those backlogged) */
struct rb_root active;
- /* tree for idle entities (i.e., not backlogged, with V <= F_i)*/
+ /* tree for idle entities (i.e., not backlogged, with V < F_i)*/
struct rb_root idle;
/* idle entity with minimum F_i */