6 #define VERSION "1.39.29"
7 #define BDATE "19 November 2006"
8 #define LSMDATE "19Nov06"
9 #define BYEAR "2006" /* year for copyright messages in progs */
18 /* If this is set stdout will not be closed on startup */
21 #define USE_BSNPRINTF 1
23 /* Debug flags not normally turned on */
25 /* #define FILE_SEEK 1 */
27 /* #define TRACE_JCR_CHAIN 1 */
28 /* #define TRACE_RES 1 */
29 /* #define DEBUG_MEMSET 1 */
30 /* #define DEBUG_MUTEX 1 */
32 * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise
33 * it is the maximum memory malloced before Bacula will
34 * abort. Except for debug situations, this should be zero
36 #define SMALLOC_SANITY_CHECK 0 /* 500000000 0.5 GB max */
39 /* Check if header of tape block is zero before writing */
40 /* #define DEBUG_BLOCK_ZEROING 1 */
42 /* #define FULL_DEBUG 1 */ /* normally on for testing only */
44 /* Turn this on ONLY if you want all Dmsg() to append to the
45 * trace file. Implemented mainly for Win32 ...
47 /* #define SEND_DMSG_TO_FILE 1 */
50 /* The following are turned on for performance testing */
52 * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
53 * will receive the attributes from the FD, will write them
54 * to disk, then when the data is written to tape, it will
55 * read back the attributes, but they will not be sent to
56 * the Director. So this will eliminate: 1. the comm time
57 * to send the attributes to the Director. 2. the time it
58 * takes the Director to put them in the catalog database.
60 /* #define NO_ATTRIBUTES_TEST 1 */
63 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
64 * will do all normal actions, but will not write to the
65 * Volume. Note, this means a lot of functions such as
66 * labeling will not work, so you must use it only when
67 * Bacula is going to append to a Volume. This will eliminate
68 * the time it takes to write to the Volume (not the time
69 * it takes to do any positioning).
71 /* #define NO_TAPE_WRITE_TEST 1 */
74 * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
75 * not send any attributes or data to the SD. This will
76 * eliminate the comm time sending to the SD.
78 /* #define FD_NO_SEND_TEST 1 */