|
|
@@ -124,7 +124,7 @@ hdb_handle_t corosync_poll_handle;
|
|
|
|
|
|
struct sched_param global_sched_param;
|
|
|
|
|
|
-static void sigusr2_handler (int num)
|
|
|
+void corosync_state_dump (void)
|
|
|
{
|
|
|
int i;
|
|
|
|
|
|
@@ -135,6 +135,15 @@ static void sigusr2_handler (int num)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+static void sigusr2_handler (int num)
|
|
|
+{
|
|
|
+ /*
|
|
|
+ * TODO remove this from sigusr2 handler and access via cfg service
|
|
|
+ * engine api - corosync-cfgtool
|
|
|
+ */
|
|
|
+ corosync_state_dump ();
|
|
|
+}
|
|
|
+
|
|
|
/*
|
|
|
* TODO this function needs some love
|
|
|
*/
|