From mboxrd@z Thu Jan 1 00:00:00 1970 From: bmarzins@sourceware.org Date: 24 Jun 2008 22:33:35 -0000 Subject: [Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-125-g98a606b Message-ID: <20080624223335.6254.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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