From: Jinlong Chen <nickyc975@zju.edu.cn>
To: axboe@kernel.dk
Cc: hch@lst.de, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org, nickyc975@zju.edu.cn
Subject: [PATCH 4/4] elevator: remove an outdated comment in elevator_change
Date: Tue, 22 Nov 2022 22:21:26 +0800 [thread overview]
Message-ID: <cbf47824fc726440371e74c867bf635ae1b671a3.1669126766.git.nickyc975@zju.edu.cn> (raw)
In-Reply-To: <cover.1669126766.git.nickyc975@zju.edu.cn>
mq is no longer a special case.
Signed-off-by: Jinlong Chen <nickyc975@zju.edu.cn>
---
block/elevator.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/block/elevator.c b/block/elevator.c
index 5287b39cd7a9..599413620558 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -721,9 +721,6 @@ static int elevator_change(struct request_queue *q, const char *elevator_name)
if (!blk_queue_registered(q))
return -ENOENT;
- /*
- * Special case for mq, turn off scheduling
- */
if (!strncmp(elevator_name, "none", 4)) {
if (q->elevator)
elevator_disable(q);
--
2.34.1
next prev parent reply other threads:[~2022-11-22 14:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 14:21 [PATCH 0/4] random improvments and cleanups for elevator.c Jinlong Chen
2022-11-22 14:21 ` [PATCH 1/4] elevator: update the document of elevator_switch Jinlong Chen
2022-11-23 7:37 ` Christoph Hellwig
2022-11-22 14:21 ` [PATCH 2/4] elevator: printk a warning if switching to a new io scheduler fails Jinlong Chen
2022-11-22 14:55 ` Jinlong Chen
2022-11-23 7:37 ` Christoph Hellwig
2022-11-22 14:21 ` [PATCH 3/4] elevator: update the document of elevator_match Jinlong Chen
2022-11-23 7:37 ` Christoph Hellwig
2022-11-22 14:21 ` Jinlong Chen [this message]
2022-11-23 7:38 ` [PATCH 4/4] elevator: remove an outdated comment in elevator_change Christoph Hellwig
2022-11-23 13:53 ` [PATCH 0/4] random improvments and cleanups for elevator.c 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=cbf47824fc726440371e74c867bf635ae1b671a3.1669126766.git.nickyc975@zju.edu.cn \
--to=nickyc975@zju.edu.cn \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--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.