lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 5 May 2010 08:16:20 +0200
From:	Heiko Carstens <heiko.carstens@...ibm.com>
To:	Xose Vazquez Perez <xose.vazquez@...il.com>,
	Stefan Weinhuber <wein@...ibm.com>,
	Horst Hummel <Horst.Hummel@...ibm.com>,
	Stefan Haberland <stefan.haberland@...ibm.com>
Cc:	linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: deadline ALWAYS default for dasd devices(s390) ?

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ