From: bmarzins@sourceware.org <bmarzins@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gnbd-kernel/src gnbd.c
Date: 18 Dec 2006 18:17:45 -0000 [thread overview]
Message-ID: <20061218181745.17667.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: bmarzins at sourceware.org 2006-12-18 18:17:45
Modified files:
gnbd-kernel/src: gnbd.c
Log message:
GNBD was hanging with the cfq scheduler, so I changed the default scheduler for
all gnbd devices to the anticipatory scheduler. This resolves bz #212428
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd-kernel/src/gnbd.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.15.4.1&r2=1.15.4.2
--- cluster/gnbd-kernel/src/gnbd.c 2006/11/21 22:01:42 1.15.4.1
+++ cluster/gnbd-kernel/src/gnbd.c 2006/12/18 18:17:44 1.15.4.2
@@ -910,6 +910,13 @@
put_disk(disk);
goto out;
}
+ elevator_exit(disk->queue->elevator);
+ err = elevator_init(disk->queue, "anticipatory");
+ if (err) {
+ blk_cleanup_queue(disk->queue);
+ put_disk(disk);
+ goto out;
+ }
}
major_nr = register_blkdev(major_nr, "gnbd");
if (major_nr < 0) {
next reply other threads:[~2006-12-18 18:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 18:17 bmarzins [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-28 6:13 [Cluster-devel] cluster/gnbd-kernel/src gnbd.c fabbione
2007-06-19 22:34 bmarzins
2007-06-19 22:31 bmarzins
2007-01-05 23:01 bmarzins
2006-12-18 18:18 bmarzins
2006-12-18 18:15 bmarzins
2006-11-09 21:22 bmarzins
2006-08-08 21:04 bmarzins
2006-07-12 17:34 bmarzins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061218181745.17667.qmail@sourceware.org \
--to=bmarzins@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.