6 #define VERSION "1.39.16"
7 #define BDATE "8 July 2006"
8 #define LSMDATE "08Jul06"
17 /* If this is set stdout will not be closed on startup */
20 #define USE_BSNPRINTF 1
22 /* Debug flags not normally turned on */
24 /* #define FILE_SEEK 1 */
26 /* #define TRACE_JCR_CHAIN 1 */
27 /* #define TRACE_RES 1 */
28 /* #define DEBUG_MEMSET 1 */
29 /* #define DEBUG_MUTEX 1 */
31 /* Check if header of tape block is zero before writing */
32 #define DEBUG_BLOCK_ZEROING 1
34 /* #define FULL_DEBUG 1 */ /* normally on for testing only */
36 /* Turn this on ONLY if you want all Dmsg() to append to the
37 * trace file. Implemented mainly for Win32 ...
39 /* #define SEND_DMSG_TO_FILE 1 */
42 /* The following are turned on for performance testing */
44 * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
45 * will receive the attributes from the FD, will write them
46 * to disk, then when the data is written to tape, it will
47 * read back the attributes, but they will not be sent to
48 * the Director. So this will eliminate: 1. the comm time
49 * to send the attributes to the Director. 2. the time it
50 * takes the Director to put them in the catalog database.
52 /* #define NO_ATTRIBUTES_TEST 1 */
55 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
56 * will do all normal actions, but will not write to the
57 * Volume. Note, this means a lot of functions such as
58 * labeling will not work, so you must use it only when
59 * Bacula is going to append to a Volume. This will eliminate
60 * the time it takes to write to the Volume (not the time
61 * it takes to do any positioning).
63 /* #define NO_TAPE_WRITE_TEST 1 */
66 * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
67 * not send any attributes or data to the SD. This will
68 * eliminate the comm time sending to the SD.
70 /* #define FD_NO_SEND_TEST 1 */