[PATCH 1/1] NBD: make nbd default to deadline I/O scheduler

From: Paul Clements
Date: Fri Feb 08 2008 - 11:48:01 EST


There have been numerous reports of problems with nbd and cfq. Deadline gives better performance for nbd, anyway, so let's use it by default.

--
Paul
There have been numerous reports of problems with nbd and cfq. Deadline gives better performance for nbd, anyway, so let's use it by default.

Signed-Off-By: Paul Clements <paul.clements@xxxxxxxxxxxx>

--- ./drivers/block/nbd.c.max_nbd_killed 2008-02-07 16:46:24.000000000 -0500
+++ ./drivers/block/nbd.c 2008-02-08 11:38:47.000000000 -0500
@@ -667,6 +667,7 @@ static int __init nbd_init(void)
put_disk(disk);
goto out;
}
+ elevator_init(disk->queue, "deadline");
}

if (register_blkdev(NBD_MAJOR, "nbd")) {