linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
	axboe@kernel.dk
Cc: Marcos Paulo de Souza <marcos.souza.org@gmail.com>,
	Hannes Reinecke <hare@suse.com>, Bob Liu <bob.liu@oracle.com>
Subject: [PATCH v2 1/4] block: elevator.c: Remove now unused elevator= argument
Date: Sun,  1 Sep 2019 20:29:13 -0300	[thread overview]
Message-ID: <20190901232916.4692-2-marcos.souza.org@gmail.com> (raw)
In-Reply-To: <20190901232916.4692-1-marcos.souza.org@gmail.com>

Since the inclusion of blk-mq, elevator argument was not being
considered anymore, and it's utility died long with the legacy IO path,
now removed too.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
---
 block/elevator.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/block/elevator.c b/block/elevator.c
index 4781c4205a5d..86100de88883 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -135,20 +135,6 @@ static struct elevator_type *elevator_get(struct request_queue *q,
 	return e;
 }
 
-static char chosen_elevator[ELV_NAME_MAX];
-
-static int __init elevator_setup(char *str)
-{
-	/*
-	 * Be backwards-compatible with previous kernels, so users
-	 * won't get the wrong elevator.
-	 */
-	strncpy(chosen_elevator, str, sizeof(chosen_elevator) - 1);
-	return 1;
-}
-
-__setup("elevator=", elevator_setup);
-
 static struct kobj_type elv_ktype;
 
 struct elevator_queue *elevator_alloc(struct request_queue *q,
-- 
2.22.0


  reply	other threads:[~2019-09-01 23:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  1:19 [RESEND PATCH 0/4] Remove elevator kernel parameter Marcos Paulo de Souza
2019-08-28  1:19 ` [RESEND PATCH 1/4] block: elevator.c: Remove now unused elevator= argument Marcos Paulo de Souza
2019-08-28  1:19 ` [RESEND PATCH 2/4] kernel-parameters.txt: Remove elevator argument Marcos Paulo de Souza
2019-08-28  1:19 ` [RESEND PATCH 3/4] Documenation: switching-sched: Remove notes about " Marcos Paulo de Souza
2019-08-28  1:19 ` [RESEND PATCH 4/4] Documentation:kernel-per-CPU-kthreads.txt: Remove reference to elevator= Marcos Paulo de Souza
2019-09-01 23:29   ` [PATCH v2 0/4] Remove elevator kernel parameter Marcos Paulo de Souza
2019-09-01 23:29     ` Marcos Paulo de Souza [this message]
2019-09-03  9:06       ` [PATCH v2 1/4] block: elevator.c: Remove now unused elevator= argument Christoph Hellwig
2019-09-01 23:29     ` [PATCH v2 2/4] kernel-parameters.txt: Remove elevator argument Marcos Paulo de Souza
2019-09-03  9:06       ` Christoph Hellwig
2019-09-01 23:29     ` [PATCH v2 3/4] Documenation: switching-sched: Remove notes about " Marcos Paulo de Souza
2019-09-03  9:06       ` Christoph Hellwig
2019-09-01 23:29     ` [PATCH v2 4/4] Documentation:kernel-per-CPU-kthreads.txt: Remove reference to elevator= Marcos Paulo de Souza
2019-09-03  9:07       ` Christoph Hellwig
2019-09-03 14:06 ` [RESEND PATCH 0/4] Remove elevator kernel parameter 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=20190901232916.4692-2-marcos.souza.org@gmail.com \
    --to=marcos.souza.org@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=bob.liu@oracle.com \
    --cc=hare@suse.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).