1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 | Samba3 ctdb srvid assignments
|
---|
4 | Copyright (C) Volker Lendecke 2012
|
---|
5 |
|
---|
6 | This program is free software; you can redistribute it and/or modify
|
---|
7 | it under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 3 of the License, or
|
---|
9 | (at your option) any later version.
|
---|
10 |
|
---|
11 | This program is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * ctdb has reserved all srvids starting with 0xFE for Samba. Here we list our
|
---|
22 | * static assignments that are supposed to be globally unique.
|
---|
23 | */
|
---|
24 |
|
---|
25 | /*
|
---|
26 | * ctdb_protocol.h already has the following definition, used in the g_lock
|
---|
27 | * implementation. Waiters for a g_lock register this to receive notifications
|
---|
28 | * when g_lock holders die.
|
---|
29 | */
|
---|
30 |
|
---|
31 | #if 0
|
---|
32 | #define CTDB_SRVID_SAMBA_NOTIFY 0xFE00000000000000LL
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | /*
|
---|
36 | * SRVID for notify_internal.c: On every node, one process registers this
|
---|
37 | * SRVID. It receives filechangenotify notifications and multicasts them
|
---|
38 | * locally according to the non-clustered local notify.tdb
|
---|
39 | */
|
---|
40 | #define CTDB_SRVID_SAMBA_NOTIFY_PROXY 0xFE00000000000001LL
|
---|