6 #define VERSION "1.39.28"
7 #define BDATE "12 November 2006"
8 #define LSMDATE "12Nov06"
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 /* Check if header of tape block is zero before writing */
33 /* #define DEBUG_BLOCK_ZEROING 1 */
35 /* #define FULL_DEBUG 1 */ /* normally on for testing only */
37 /* Turn this on ONLY if you want all Dmsg() to append to the
38 * trace file. Implemented mainly for Win32 ...
40 /* #define SEND_DMSG_TO_FILE 1 */
43 /* The following are turned on for performance testing */
45 * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
46 * will receive the attributes from the FD, will write them
47 * to disk, then when the data is written to tape, it will
48 * read back the attributes, but they will not be sent to
49 * the Director. So this will eliminate: 1. the comm time
50 * to send the attributes to the Director. 2. the time it
51 * takes the Director to put them in the catalog database.
53 /* #define NO_ATTRIBUTES_TEST 1 */
56 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
57 * will do all normal actions, but will not write to the
58 * Volume. Note, this means a lot of functions such as
59 * labeling will not work, so you must use it only when
60 * Bacula is going to append to a Volume. This will eliminate
61 * the time it takes to write to the Volume (not the time
62 * it takes to do any positioning).
64 /* #define NO_TAPE_WRITE_TEST 1 */
67 * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
68 * not send any attributes or data to the SD. This will
69 * eliminate the comm time sending to the SD.
71 /* #define FD_NO_SEND_TEST 1 */