Skip to content

Commit 4d89e1d

Browse files
Guoqing Jiangaxboe
authored andcommitted
blk-wbt: rename __wbt_update_limits to wbt_update_limits
Now let's rename __wbt_update_limits to wbt_update_limits after the previous one is deleted. Signed-off-by: Guoqing Jiang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 26e0ca1 commit 4d89e1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

block/blk-wbt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static void wb_timer_fn(struct blk_stat_callback *cb)
405405
rwb_arm_timer(rwb);
406406
}
407407

408-
static void __wbt_update_limits(struct rq_wb *rwb)
408+
static void wbt_update_limits(struct rq_wb *rwb)
409409
{
410410
struct rq_depth *rqd = &rwb->rq_depth;
411411

@@ -433,7 +433,7 @@ void wbt_set_min_lat(struct request_queue *q, u64 val)
433433
return;
434434
RQWB(rqos)->min_lat_nsec = val;
435435
RQWB(rqos)->enable_state = WBT_STATE_ON_MANUAL;
436-
__wbt_update_limits(RQWB(rqos));
436+
wbt_update_limits(RQWB(rqos));
437437
}
438438

439439

@@ -677,7 +677,7 @@ static int wbt_data_dir(const struct request *rq)
677677
static void wbt_queue_depth_changed(struct rq_qos *rqos)
678678
{
679679
RQWB(rqos)->rq_depth.queue_depth = blk_queue_depth(rqos->q);
680-
__wbt_update_limits(RQWB(rqos));
680+
wbt_update_limits(RQWB(rqos));
681681
}
682682

683683
static void wbt_exit(struct rq_qos *rqos)
@@ -835,7 +835,7 @@ int wbt_init(struct request_queue *q)
835835
rwb->enable_state = WBT_STATE_ON_DEFAULT;
836836
rwb->wc = 1;
837837
rwb->rq_depth.default_depth = RWB_DEF_DEPTH;
838-
__wbt_update_limits(rwb);
838+
wbt_update_limits(rwb);
839839

840840
/*
841841
* Assign rwb and add the stats callback.

0 commit comments

Comments
 (0)