[pve-devel] r6140 - corosync/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jun 23 07:06:45 CEST 2011


Author: dietmar
Date: 2011-06-23 07:06:45 +0200 (Thu, 23 Jun 2011)
New Revision: 6140

Added:
   corosync/trunk/fix-schedrr-warning.patch
Modified:
   corosync/trunk/Makefile
Log:


Modified: corosync/trunk/Makefile
===================================================================
--- corosync/trunk/Makefile	2011-06-23 04:52:43 UTC (rev 6139)
+++ corosync/trunk/Makefile	2011-06-23 05:06:45 UTC (rev 6140)
@@ -19,6 +19,7 @@
 	echo ${DEBS}
 	rm -rf ${CSDIR}
 	tar xf ${CSSRC} 
+	cd ${CSDIR}; patch -p1 < ../fix-schedrr-warning.patch
 	cp -a debian ${CSDIR}/debian
 	cd ${CSDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
 

Added: corosync/trunk/fix-schedrr-warning.patch
===================================================================
--- corosync/trunk/fix-schedrr-warning.patch	                        (rev 0)
+++ corosync/trunk/fix-schedrr-warning.patch	2011-06-23 05:06:45 UTC (rev 6140)
@@ -0,0 +1,14 @@
+--- corosync-1.3.1/exec/main.c.org	2011-06-23 06:58:38.000000000 +0200
++++ corosync-1.3.1/exec/main.c	2011-06-23 06:58:44.000000000 +0200
+@@ -1230,10 +1230,10 @@
+ 		if (res == -1) {
+ 			char error_str[100];
+ 			strerror_r (errno, error_str, 100);
+-			global_sched_param.sched_priority = 0;
+ 			log_printf (LOGSYS_LEVEL_WARNING, "Could not set SCHED_RR at priority %d: %s\n",
+ 				global_sched_param.sched_priority, error_str);
+ 
++			global_sched_param.sched_priority = 0;
+ 			logsys_thread_priority_set (SCHED_OTHER, NULL, 1);
+ 		} else {
+ 			/*




More information about the pve-devel mailing list