From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Xose Vazquez Perez <xose.vazquez@gmail.com>,
Stefan Weinhuber <wein@de.ibm.com>,
Horst Hummel <Horst.Hummel@de.ibm.com>,
Stefan Haberland <stefan.haberland@de.ibm.com>
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: deadline ALWAYS default for dasd devices(s390) ?
Date: Wed, 5 May 2010 08:16:20 +0200 [thread overview]
Message-ID: <20100505061620.GA2381@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <4BD58848.8090205@gmail.com>
On Mon, Apr 26, 2010 at 02:34:16PM +0200, Xose Vazquez Perez wrote:
> hi,
>
> why is it FORCED ? bypassing a GLOBAL setting and also the kernel command line !!!
>
> drivers/s390/block/dasd.c
>
> /*
> * Allocate and initialize request queue and default I/O scheduler.
> */
> static int dasd_alloc_queue(struct dasd_block *block)
> {
> int rc;
>
> block->request_queue = blk_init_queue(do_dasd_request,
> &block->request_queue_lock);
> if (block->request_queue == NULL)
> return -ENOMEM;
>
> block->request_queue->queuedata = block;
>
> elevator_exit(block->request_queue->elevator);
> block->request_queue->elevator = NULL;
> rc = elevator_init(block->request_queue, "deadline");
> if (rc) {
> blk_cleanup_queue(block->request_queue);
> return rc;
> }
> return 0;
> }
Horst, Stefan W. or Stefan H. should be able to answer your question.
next prev parent reply other threads:[~2010-05-05 6:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 12:34 deadline ALWAYS default for dasd devices(s390) ? Xose Vazquez Perez
2010-05-05 6:16 ` Heiko Carstens [this message]
2010-05-05 7:52 ` Stefan Weinhuber
2010-05-05 7:55 ` Michael Tokarev
2010-05-06 7:34 ` Xose Vazquez Perez
2010-05-06 8:17 ` Rob van der Heij
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=20100505061620.GA2381@osiris.boeblingen.de.ibm.com \
--to=heiko.carstens@de.ibm.com \
--cc=Horst.Hummel@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=stefan.haberland@de.ibm.com \
--cc=wein@de.ibm.com \
--cc=xose.vazquez@gmail.com \
/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