This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cluster Project branch, RHEL5, updated. cmirror_1_1_15-125-g98a606b


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=98a606bbcac79291f2f34f7c66a98e599f000225

The branch, RHEL5 has been updated
       via  98a606bbcac79291f2f34f7c66a98e599f000225 (commit)
      from  dc3458731de32d3619bb310e74593e5f07a770de (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 98a606bbcac79291f2f34f7c66a98e599f000225
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 333392d..20790bc 100644
--- a/gnbd-kernel/src/gnbd.c
+++ b/gnbd-kernel/src/gnbd.c
@@ -996,7 +996,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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]