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

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.03.04-30-g962d690



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".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=962d69051c7928a5a0d9e3cdd066b32f9b3f169e

The branch, STABLE2 has been updated
       via  962d69051c7928a5a0d9e3cdd066b32f9b3f169e (commit)
      from  1661c666f889bfd1c8cb0972aa8126cbba8fc3b7 (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 962d69051c7928a5a0d9e3cdd066b32f9b3f169e
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 ade7347..2fb4c20 100644
--- a/gnbd-kernel/src/gnbd.c
+++ b/gnbd-kernel/src/gnbd.c
@@ -975,7 +975,7 @@ static int __init gnbd_init(void)
 			goto out;
 		}
 		elevator_exit(disk->queue->elevator);
-		err = elevator_init(disk->queue, "anticipatory");
+		err = elevator_init(disk->queue, "deadline");
 		if (err) {
 			blk_cleanup_queue(disk->queue);
 			put_disk(disk);


hooks/post-receive
--
Cluster Project


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