Commit e32463b2 authored by Jaehoon Chung's avatar Jaehoon Chung Committed by Jens Axboe

block: remove the duplicated setting for congestion_threshold

Before call the blk_queue_congestion_threshold(),
the blk_queue_congestion_threshold() is already called at blk_queue_make_rquest().
Because this code is the duplicated, it has removed.
Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b1f3b64d
...@@ -713,8 +713,6 @@ blk_init_allocated_queue(struct request_queue *q, request_fn_proc *rfn, ...@@ -713,8 +713,6 @@ blk_init_allocated_queue(struct request_queue *q, request_fn_proc *rfn,
if (elevator_init(q, NULL)) if (elevator_init(q, NULL))
return NULL; return NULL;
blk_queue_congestion_threshold(q);
/* all done, end the initial bypass */ /* all done, end the initial bypass */
blk_queue_bypass_end(q); blk_queue_bypass_end(q);
return q; return q;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment