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

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.05-27-ge55f8fd

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".


The branch, master has been updated
       via  e55f8fdb17a56e731d8f4460223d539ecb3557d0 (commit)
      from  64ab697e04242b96455dcb06b55c1dd2b12f30a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e55f8fdb17a56e731d8f4460223d539ecb3557d0
Author: Benjamin Marzinski <bmarzins redhat com>
Date:   Tue Jun 24 17:11:35 2008 -0500

    [gnbd-kernel] bz 442606: Switch gnbd to use deadline scheduler by default.
    GNBD was hanging under load with O_DIRECT. GNBD needs to block in its
    request function.  This causes some problems with the anticipatory scheduler,
    which GNBD was using by default. To avoid these, this fix makes gnbd use the
    deadline scheduler by default.


Summary of changes:
 gnbd-kernel/src/gnbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnbd-kernel/src/gnbd.c b/gnbd-kernel/src/gnbd.c
index 5cc34fb..a8cfe4d 100644
--- a/gnbd-kernel/src/gnbd.c
+++ b/gnbd-kernel/src/gnbd.c
@@ -974,7 +974,7 @@ static int __init gnbd_init(void)
 			goto out;
-		err = elevator_init(disk->queue, "anticipatory");
+		err = elevator_init(disk->queue, "deadline");
 		if (err) {

Cluster Project

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