6 #define VERSION "1.38.1"
7 #define BDATE "05 November 2005"
8 #define LSMDATE "05Nov05"
17 /* If this is set stdout will not be closed on startup */
18 /* #define DEVELOPER 1 */
20 /* Debug flags not normally turned on */
22 /* #define FILE_SEEK 1 */
24 /* #define TRACE_JCR_CHAIN 1 */
25 /* #define TRACE_RES 1 */
26 /* #define DEBUG_MEMSET 1 */
27 /* #define DEBUG_MUTEX 1 */
29 /* Check if header of tape block is zero before writing */
30 #define DEBUG_BLOCK_ZEROING 1
32 /* #define FULL_DEBUG 1 */ /* normally on for testing only */
34 /* Turn this on ONLY if you want all Dmsg() to append to the
35 * trace file. Implemented mainly for Win32 ...
37 /* #define SEND_DMSG_TO_FILE 1 */
40 /* The following are turned on for performance testing */
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.
50 /* #define NO_ATTRIBUTES_TEST 1 */
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).
61 /* #define NO_TAPE_WRITE_TEST 1 */
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.
68 /* #define FD_NO_SEND_TEST 1 */