mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
ctdb-protocol: Add new event startipreallocate
A new event is needed for NFS lock reclaim to ensure all nodes are in grace before any locks are released. This event must take place before releaseip. Signed-off-by: Vinit Agnihotri <vagnihotri@ddn.com> Reviewed-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
ed67e65057
commit
786adccaa9
@ -764,6 +764,7 @@ enum ctdb_event {
|
||||
CTDB_EVENT_RELOAD, /* Deprecated, do not use */
|
||||
CTDB_EVENT_UPDATE_IP, /* IP updating: old interface, new interface, IP address, netmask bits. */
|
||||
CTDB_EVENT_IPREALLOCATED, /* when a takeover_run() completes */
|
||||
CTDB_EVENT_START_IPREALLOCATE, /* When a takeover_run() starts */
|
||||
CTDB_EVENT_MAX
|
||||
};
|
||||
|
||||
|
@ -85,6 +85,7 @@ static struct {
|
||||
{ CTDB_EVENT_SHUTDOWN, "shutdown" },
|
||||
{ CTDB_EVENT_UPDATE_IP, "updateip" },
|
||||
{ CTDB_EVENT_IPREALLOCATED, "ipreallocated" },
|
||||
{ CTDB_EVENT_START_IPREALLOCATE, "startipreallocate" },
|
||||
{ CTDB_EVENT_MAX, "all" },
|
||||
{ -1, NULL },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user