diff options
author | Jens Axboe <axboe@fb.com> | 2016-11-28 11:25:50 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-28 12:27:03 -0500 |
commit | fa224eed2b5e0f2f9a57281e9dc733c843d590ad (patch) | |
tree | e7cdf9a2458ec2fd000c536add5ac206ee1dd9f9 /block/blk-wbt.h | |
parent | 80e091d10e8bf7b801d634ea8870b9e907314424 (diff) |
blk-wbt: cleanup disable-by-default for CFQ
Make it clear that we are disabling wbt for the specified queued,
if it was enabled by default. This is in preparation for allowing
users to re-enable wbt, and not have it disabled automatically
again.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-wbt.h')
-rw-r--r-- | block/blk-wbt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-wbt.h b/block/blk-wbt.h index 9dfc88ad7f30..8f485f8e1baf 100644 --- a/block/blk-wbt.h +++ b/block/blk-wbt.h | |||
@@ -105,7 +105,7 @@ void wbt_exit(struct request_queue *); | |||
105 | void wbt_update_limits(struct rq_wb *); | 105 | void wbt_update_limits(struct rq_wb *); |
106 | void wbt_requeue(struct rq_wb *, struct blk_issue_stat *); | 106 | void wbt_requeue(struct rq_wb *, struct blk_issue_stat *); |
107 | void wbt_issue(struct rq_wb *, struct blk_issue_stat *); | 107 | void wbt_issue(struct rq_wb *, struct blk_issue_stat *); |
108 | void wbt_disable(struct rq_wb *); | 108 | void wbt_disable_default(struct request_queue *); |
109 | 109 | ||
110 | void wbt_set_queue_depth(struct rq_wb *, unsigned int); | 110 | void wbt_set_queue_depth(struct rq_wb *, unsigned int); |
111 | void wbt_set_write_cache(struct rq_wb *, bool); | 111 | void wbt_set_write_cache(struct rq_wb *, bool); |
@@ -141,7 +141,7 @@ static inline void wbt_requeue(struct rq_wb *rwb, struct blk_issue_stat *stat) | |||
141 | static inline void wbt_issue(struct rq_wb *rwb, struct blk_issue_stat *stat) | 141 | static inline void wbt_issue(struct rq_wb *rwb, struct blk_issue_stat *stat) |
142 | { | 142 | { |
143 | } | 143 | } |
144 | static inline void wbt_disable(struct rq_wb *rwb) | 144 | static inline void wbt_disable_default(struct request_queue *q) |
145 | { | 145 | { |
146 | } | 146 | } |
147 | static inline void wbt_set_queue_depth(struct rq_wb *rwb, unsigned int depth) | 147 | static inline void wbt_set_queue_depth(struct rq_wb *rwb, unsigned int depth) |