/
drbd_config.h
51 lines (37 loc) · 1018 Bytes
/
drbd_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// SPDX-License-Identifier: GPL-2.0-or-later
/*
drbd_config.h
DRBD's compile time configuration.
*/
#ifndef DRBD_CONFIG_H
#define DRBD_CONFIG_H
extern const char *drbd_buildtag(void);
/* Necessary to build the external module against >= Linux-2.6.33 */
#ifdef REL_VERSION
#undef REL_VERSION
#undef API_VERSION
#undef PRO_VERSION_MIN
#undef PRO_VERSION_MAX
#endif
/* End of external module for 2.6.33 stuff */
#define REL_VERSION "9.1.12"
#define PRO_VERSION_MIN 86
#define PRO_VERSION_MAX 121
#ifndef __CHECKER__ /* for a sparse run, we need all STATICs */
#define DBG_ALL_SYMBOLS /* no static functs, improves quality of OOPS traces */
#endif
/* Dump all cstate changes */
#define DUMP_MD 2
/* some extra checks
#define PARANOIA
*/
/* Enable fault insertion code */
#ifndef CONFIG_DRBD_FAULT_INJECTION
#define CONFIG_DRBD_FAULT_INJECTION 1
#endif
/* CONFIG_KREF_DEBUG has to be enabled in Kbuild */
/* Do not enable CONFIG_DRBD_TIMING_STATS */
#ifdef __KERNEL__
#include "compat.h"
#endif
#endif