All of lore.kernel.org
 help / color / mirror / Atom feed
* deadline ALWAYS default for dasd devices(s390) ?
@ 2010-04-26 12:34 Xose Vazquez Perez
  2010-05-05  6:16 ` Heiko Carstens
  0 siblings, 1 reply; 6+ messages in thread
From: Xose Vazquez Perez @ 2010-04-26 12:34 UTC (permalink / raw)
  To: linux-s390, linux-kernel

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;
}


-thanks-

-- 
«Allá muevan feroz guerra, ciegos reyes por un palmo más de tierra;
que yo aquí tengo por mío cuanto abarca el mar bravío, a quien nadie
impuso leyes. Y no hay playa, sea cualquiera, ni bandera de esplendor,
que no sienta mi derecho y dé pecho a mi valor.»

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-06  8:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-26 12:34 deadline ALWAYS default for dasd devices(s390) ? Xose Vazquez Perez
2010-05-05  6:16 ` Heiko Carstens
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

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.