diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-06 06:26:24 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-20 12:32:35 -0400 |
commit | 8060c47ba853f147c46bf1e6f6d93d1726fcb57a (patch) | |
tree | ccab63ea63d2b21044874e93f2e0595c62774ade /block/bfq-iosched.c | |
parent | d6258980daf207f986676e59e6ea295204cdc84e (diff) |
block: rename CONFIG_DEBUG_BLK_CGROUP to CONFIG_BFQ_CGROUP_DEBUG
This option is entirely bfq specific, give it an appropinquate name.
Also make it depend on CONFIG_BFQ_GROUP_IOSCHED in Kconfig, as all
the functionality already does so anyway.
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.c')
-rw-r--r-- | block/bfq-iosched.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index a6bf842cbe16..44c6bbcd7720 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c | |||
@@ -4404,7 +4404,7 @@ exit: | |||
4404 | return rq; | 4404 | return rq; |
4405 | } | 4405 | } |
4406 | 4406 | ||
4407 | #if defined(CONFIG_BFQ_GROUP_IOSCHED) && defined(CONFIG_DEBUG_BLK_CGROUP) | 4407 | #ifdef CONFIG_BFQ_CGROUP_DEBUG |
4408 | static void bfq_update_dispatch_stats(struct request_queue *q, | 4408 | static void bfq_update_dispatch_stats(struct request_queue *q, |
4409 | struct request *rq, | 4409 | struct request *rq, |
4410 | struct bfq_queue *in_serv_queue, | 4410 | struct bfq_queue *in_serv_queue, |
@@ -4454,7 +4454,7 @@ static inline void bfq_update_dispatch_stats(struct request_queue *q, | |||
4454 | struct request *rq, | 4454 | struct request *rq, |
4455 | struct bfq_queue *in_serv_queue, | 4455 | struct bfq_queue *in_serv_queue, |
4456 | bool idle_timer_disabled) {} | 4456 | bool idle_timer_disabled) {} |
4457 | #endif | 4457 | #endif /* CONFIG_BFQ_CGROUP_DEBUG */ |
4458 | 4458 | ||
4459 | static struct request *bfq_dispatch_request(struct blk_mq_hw_ctx *hctx) | 4459 | static struct request *bfq_dispatch_request(struct blk_mq_hw_ctx *hctx) |
4460 | { | 4460 | { |
@@ -5008,7 +5008,7 @@ static bool __bfq_insert_request(struct bfq_data *bfqd, struct request *rq) | |||
5008 | return idle_timer_disabled; | 5008 | return idle_timer_disabled; |
5009 | } | 5009 | } |
5010 | 5010 | ||
5011 | #if defined(CONFIG_BFQ_GROUP_IOSCHED) && defined(CONFIG_DEBUG_BLK_CGROUP) | 5011 | #ifdef CONFIG_BFQ_CGROUP_DEBUG |
5012 | static void bfq_update_insert_stats(struct request_queue *q, | 5012 | static void bfq_update_insert_stats(struct request_queue *q, |
5013 | struct bfq_queue *bfqq, | 5013 | struct bfq_queue *bfqq, |
5014 | bool idle_timer_disabled, | 5014 | bool idle_timer_disabled, |
@@ -5038,7 +5038,7 @@ static inline void bfq_update_insert_stats(struct request_queue *q, | |||
5038 | struct bfq_queue *bfqq, | 5038 | struct bfq_queue *bfqq, |
5039 | bool idle_timer_disabled, | 5039 | bool idle_timer_disabled, |
5040 | unsigned int cmd_flags) {} | 5040 | unsigned int cmd_flags) {} |
5041 | #endif | 5041 | #endif /* CONFIG_BFQ_CGROUP_DEBUG */ |
5042 | 5042 | ||
5043 | static void bfq_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, | 5043 | static void bfq_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, |
5044 | bool at_head) | 5044 | bool at_head) |