From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/group/dlm_controld main.c
Date: 15 Nov 2006 14:33:06 -0000 [thread overview]
Message-ID: <20061115143306.5567.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2006-11-15 14:33:06
Modified files:
group/dlm_controld: main.c
Log message:
uncomment scheduler settings
fix sched_priority from sdake
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/dlm_controld/main.c.diff?cvsroot=cluster&r1=1.6&r2=1.7
--- cluster/group/dlm_controld/main.c 2006/10/24 16:16:31 1.6
+++ cluster/group/dlm_controld/main.c 2006/11/15 14:33:06 1.7
@@ -389,7 +389,6 @@
}
}
-#if 0
void set_scheduler(void)
{
struct sched_param sched_param;
@@ -397,7 +396,7 @@
rv = sched_get_priority_max(SCHED_RR);
if (rv != -1) {
- sched_param.sched_priority = 2;
+ sched_param.sched_priority = rv;
rv = sched_setscheduler(0, SCHED_RR, &sched_param);
if (rv == -1)
log_error("could not set SCHED_RR priority %d err %d",
@@ -407,7 +406,6 @@
errno);
}
}
-#endif
int main(int argc, char **argv)
{
@@ -420,9 +418,7 @@
if (!daemon_debug_opt)
daemonize();
-#if 0
set_scheduler();
-#endif
return loop();
}
next reply other threads:[~2006-11-15 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 14:33 teigland [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-26 21:03 [Cluster-devel] cluster/group/dlm_controld main.c teigland
2006-07-13 19:49 teigland
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=20061115143306.5567.qmail@sourceware.org \
--to=teigland@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.