From: Jaehoon Chung <jh80.chung@samsung.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: axboe@kernel.dk, Kyungmin Park <kyungmin.park@samsung.com>
Subject: [PATCH] block: remove the duplicated setting for congestion_threshold
Date: Fri, 31 Aug 2012 17:24:13 +0900 [thread overview]
Message-ID: <504074AD.2010309@samsung.com> (raw)
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 <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
block/blk-core.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/block/blk-core.c b/block/blk-core.c
index 4b4dbdf..a418249 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -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;
--
1.7.4.1
next reply other threads:[~2012-08-31 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 8:24 Jaehoon Chung [this message]
2012-09-09 10:44 ` [PATCH] block: remove the duplicated setting for congestion_threshold Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=504074AD.2010309@samsung.com \
--to=jh80.chung@samsung.com \
--cc=axboe@kernel.dk \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.