Skip to content

Commit

Permalink
block: remove the duplicated setting for congestion_threshold
Browse files Browse the repository at this point in the history
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: Jaehoon Chung <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
jh80chung authored and axboe committed Sep 9, 2012
1 parent b1f3b64 commit e32463b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,6 @@ blk_init_allocated_queue(struct request_queue *q, request_fn_proc *rfn,
if (elevator_init(q, NULL))
return NULL;

blk_queue_congestion_threshold(q);

/* all done, end the initial bypass */
blk_queue_bypass_end(q);
return q;
Expand Down

0 comments on commit e32463b

Please sign in to comment.