aboutsummaryrefslogtreecommitdiffstats
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorPaolo Valente <paolo.valente@linaro.org>2020-02-03 11:40:57 +0100
committerJens Axboe <axboe@kernel.dk>2020-02-03 06:58:15 -0700
commit33a16a9804688b2f4c4281ec31bc393ef2645ae4 (patch)
treed0582697320c2a862c429649d31dcffaa0346b66 /block/bfq-iosched.h
parentblock, bfq: get extra ref to prevent a queue from being freed during a group move (diff)
downloadlinux-dev-33a16a9804688b2f4c4281ec31bc393ef2645ae4.tar.xz
linux-dev-33a16a9804688b2f4c4281ec31bc393ef2645ae4.zip
block, bfq: extend incomplete name of field on_st
The flag on_st in the bfq_entity data structure is true if the entity is on a service tree or is in service. Yet the name of the field, confusingly, does not mention the second, very important case. Extend the name to mention the second case too. Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> Signed-off-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 8526f20c53bc..f1cb89def7f8 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -150,7 +150,7 @@ struct bfq_entity {
* Flag, true if the entity is on a tree (either the active or
* the idle one of its service_tree) or is in service.
*/
- bool on_st;
+ bool on_st_or_in_serv;
/* B-WF2Q+ start and finish timestamps [sectors/weight] */
u64 start, finish;