git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce6262
)
ctdb-util: Log an error if there is no way to set scheduler
author
Martin Schwenke
<martin@meltin.net>
Mon, 15 Sep 2014 01:48:33 +0000
(11:48 +1000)
committer
Martin Schwenke
<martins@samba.org>
Wed, 17 Sep 2014 05:29:10 +0000
(07:29 +0200)
Although configure should catch this, logging a run-time error is
better than being mystified when ctdbd silently exits.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system_util.c
patch
|
blob
|
history
diff --git
a/ctdb/common/system_util.c
b/ctdb/common/system_util.c
index 8e8f4ac2174755c3d2e479c653cbfffb758232af..6ff82f7147be36bcb6e07b9fe1cfac8a5bf16504 100644
(file)
--- a/
ctdb/common/system_util.c
+++ b/
ctdb/common/system_util.c
@@
-77,6
+77,7
@@
bool set_scheduler(void)
}
#endif
#endif
+ DEBUG(DEBUG_CRIT,("No way to set real-time priority.\n"));
return false;
}