]> git.sur5r.net Git - bacula/bacula/commitdiff
Increase vtape max block to 20GB
authorKern Sibbald <kern@sibbald.com>
Sun, 5 Oct 2008 09:57:27 +0000 (09:57 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 5 Oct 2008 09:57:27 +0000 (09:57 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7705 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/vtape.c
bacula/src/stored/vtape.h
bacula/technotes-2.5

index daeb7d9a66310af7939004babc64f7637cfa5879..bf55cc6617871cbbbabdab95b0a1f27617fdcb39 100644 (file)
@@ -433,7 +433,7 @@ vtape::vtape()
    current_file = 0;
    current_block = -1;
 
-   max_block = 2*1024*2048;      /* 2GB */
+   max_block = VTAPE_MAX_BLOCK;
 }
 
 vtape::~vtape()
index 146083f875cd359818e17504b29a4f8d86ac55be..b4cf257200eedaa4b8ab49d8036504cdaa69f94d 100644 (file)
@@ -52,6 +52,8 @@ ssize_t vtape_write(int fd, const void *buffer, size_t count);
 
 #define FTAPE_MAX_DRIVE 50
 
+#define VTAPE_MAX_BLOCK 20*1024*2048;      /* 20GB */
+
 typedef enum {
    VT_READ_EOF,                 /* Need to read the entire EOF struct */
    VT_SKIP_EOF                  /* Have already read the EOF byte */
index 935b1455e132bce80880388a2e59ae0be024147e..854f5a27827f5cd9cfabf95ced3c69b8f4e1b304 100644 (file)
@@ -17,6 +17,8 @@ dbdriver
 remove reader/writer in FOPTS????
 
 General:
+05Oct08
+kes  Increase vtape max block to 20GB.
 04Oct08
 kes  Refactor restore code to create a close_previous_stream(). This
      This may destabilize the source.