[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] blkfront: Use system default scheduler rather than force no-op.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1255348675 -3600
# Node ID cd453b4804b95fe9198d79aff60799b36b713060
# Parent  18a673a634b2b415336029d1dfba0097c22c28b7
blkfront: Use system default scheduler rather than force no-op.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/blkfront/vbd.c |    6 ------
 1 files changed, 6 deletions(-)

diff -r 18a673a634b2 -r cd453b4804b9 drivers/xen/blkfront/vbd.c
--- a/drivers/xen/blkfront/vbd.c        Thu Oct 08 08:53:36 2009 +0100
+++ b/drivers/xen/blkfront/vbd.c        Mon Oct 12 12:57:55 2009 +0100
@@ -217,12 +217,6 @@ xlvbd_init_blk_queue(struct gendisk *gd,
        if (rq == NULL)
                return -1;
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
-       elevator_init(rq, "noop");
-#else
-       elevator_init(rq, &elevator_noop);
-#endif
-
        /* Hard sector size and max sectors impersonate the equiv. hardware. */
        blk_queue_hardsect_size(rq, sector_size);
        blk_queue_max_sectors(rq, 512);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.