Go to the documentation of this file.
91 #define dlm_error(st) do { \
92 if ((st) != DLM_RECOVERING && \
93 (st) != DLM_MIGRATING && \
94 (st) != DLM_FORWARD) \
95 mlog(ML_ERROR, "dlm status = %s\n", dlm_errname((st))); \
98 #define DLM_LKSB_UNUSED1 0x01
99 #define DLM_LKSB_PUT_LVB 0x02
100 #define DLM_LKSB_GET_LVB 0x04
101 #define DLM_LKSB_UNUSED2 0x08
102 #define DLM_LKSB_UNUSED3 0x10
103 #define DLM_LKSB_UNUSED4 0x20
104 #define DLM_LKSB_UNUSED5 0x40
105 #define DLM_LKSB_UNUSED6 0x80
107 #define DLM_LVB_LEN 64
119 #define LKM_IVMODE (-1)
126 #define LKM_MAXMODE 5
127 #define LKM_MODEMASK 0xff
133 #define LKM_ORPHAN 0x00000010
134 #define LKM_PARENTABLE 0x00000020
135 #define LKM_BLOCK 0x00000040
136 #define LKM_LOCAL 0x00000080
137 #define LKM_VALBLK 0x00000100
138 #define LKM_NOQUEUE 0x00000200
139 #define LKM_CONVERT 0x00000400
140 #define LKM_NODLCKWT 0x00000800
141 #define LKM_UNLOCK 0x00001000
142 #define LKM_CANCEL 0x00002000
143 #define LKM_DEQALL 0x00004000
144 #define LKM_INVVALBLK 0x00008000
145 #define LKM_SYNCSTS 0x00010000
146 #define LKM_TIMEOUT 0x00020000
147 #define LKM_SNGLDLCK 0x00040000
148 #define LKM_FINDLOCAL 0x00080000
149 #define LKM_PROC_OWNED 0x00100000
150 #define LKM_XID 0x00200000
151 #define LKM_XID_CONFLICT 0x00400000
152 #define LKM_FORCE 0x00800000
153 #define LKM_REVVALBLK 0x01000000
156 #define LKM_UNUSED1 0x00000001
157 #define LKM_UNUSED2 0x00000002
158 #define LKM_UNUSED3 0x00000004
159 #define LKM_UNUSED4 0x00000008
160 #define LKM_UNUSED5 0x02000000
161 #define LKM_UNUSED6 0x04000000
162 #define LKM_UNUSED7 0x08000000
166 #define LKM_MIGRATION 0x10000000
168 #define LKM_PUT_LVB 0x20000000
170 #define LKM_GET_LVB 0x40000000
172 #define LKM_RECOVERY 0x80000000