#include <config.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <sys/uio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <time.h>
#include <arpa/inet.h>
#include <corosync/corotypes.h>
#include <corosync/swab.h>
#include <corosync/totem/totempg.h>
#include <corosync/totem/totem.h>
#include <corosync/logsys.h>
#include <qb/qbipc_common.h>
#include "schedwrk.h"
#include "quorum.h"
#include "sync.h"
#include "main.h"
Go to the source code of this file.
◆ MESSAGE_REQ_SYNC_BARRIER
#define MESSAGE_REQ_SYNC_BARRIER 0 |
◆ MESSAGE_REQ_SYNC_SERVICE_BUILD
#define MESSAGE_REQ_SYNC_SERVICE_BUILD 1 |
◆ sync_process_state
Enumerator |
---|
PROCESS | |
ACTIVATE | |
Definition at line 66 of file sync.c.
◆ sync_state
Enumerator |
---|
SYNC_SERVICELIST_BUILD | |
SYNC_PROCESS | |
SYNC_BARRIER | |
Definition at line 71 of file sync.c.
◆ LOGSYS_DECLARE_SUBSYS()
LOGSYS_DECLARE_SUBSYS |
( |
"SYNC" |
| ) |
|
◆ sync_abort()
◆ sync_init()
int sync_init |
( |
int(*)(int service_id, struct sync_callbacks *callbacks) |
sync_callbacks_retrieve, |
|
|
void(*)(void) |
synchronization_completed |
|
) |
| |
◆ sync_save_transitional()
void sync_save_transitional |
( |
const unsigned int * |
member_list, |
|
|
size_t |
member_list_entries, |
|
|
const struct memb_ring_id * |
ring_id |
|
) |
| |
◆ sync_start()
void sync_start |
( |
const unsigned int * |
member_list, |
|
|
size_t |
member_list_entries, |
|
|
const struct memb_ring_id * |
ring_id |
|
) |
| |
◆ my_sync_callbacks_retrieve