]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/version.h
- Tweak #ifdefing a bit in new Win32 stream code.
[bacula/bacula] / bacula / src / version.h
1 /*
2  *  Version $Id$
3  */
4
5 #undef  VERSION
6 #define VERSION "1.38.1"
7 #define BDATE   "05 November 2005"
8 #define LSMDATE "05Nov05"
9
10 /* Debug flags */
11 #undef  DEBUG
12 #define DEBUG 1
13 #define TRACEBACK 1
14 #define SMCHECK
15 #define TRACE_FILE 1
16
17 /* If this is set stdout will not be closed on startup */
18 /* #define DEVELOPER 1 */
19
20 /* Debug flags not normally turned on */
21
22 /* #define FILE_SEEK 1 */  
23
24 /* #define TRACE_JCR_CHAIN 1 */
25 /* #define TRACE_RES 1 */
26 /* #define DEBUG_MEMSET 1 */
27 /* #define DEBUG_MUTEX 1 */
28
29 /* Check if header of tape block is zero before writing */
30 #define DEBUG_BLOCK_ZEROING 1
31
32 /* #define FULL_DEBUG 1 */   /* normally on for testing only */
33
34 /* Turn this on ONLY if you want all Dmsg() to append to the
35  *   trace file. Implemented mainly for Win32 ...
36  */
37 /*  #define SEND_DMSG_TO_FILE 1 */
38
39
40 /* The following are turned on for performance testing */
41 /*  
42  * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
43  *  will receive the attributes from the FD, will write them
44  *  to disk, then when the data is written to tape, it will
45  *  read back the attributes, but they will not be sent to
46  *  the Director. So this will eliminate: 1. the comm time
47  *  to send the attributes to the Director. 2. the time it
48  *  takes the Director to put them in the catalog database.
49  */
50 /* #define NO_ATTRIBUTES_TEST 1 */
51
52 /* 
53 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
54 *  will do all normal actions, but will not write to the
55 *  Volume.  Note, this means a lot of functions such as
56 *  labeling will not work, so you must use it only when 
57 *  Bacula is going to append to a Volume. This will eliminate
58 *  the time it takes to write to the Volume (not the time
59 *  it takes to do any positioning).
60 */
61 /* #define NO_TAPE_WRITE_TEST 1 */
62
63 /*
64  * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
65  *  not send any attributes or data to the SD. This will
66  *  eliminate the comm time sending to the SD.
67  */
68 /* #define FD_NO_SEND_TEST 1 */