From 6d834d255f34e3cb62466ba5646fc362ee28d6be Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Mon, 17 Feb 2003 10:31:44 +0000 Subject: [PATCH] Raised block size up to 1024 kB. --- CHANGES | 6 +++++- restore/tape.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 659a36f..b8593de 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.216 2003/02/12 11:02:28 stelian Exp $ +$Id: CHANGES,v 1.217 2003/02/17 10:31:44 stelian Exp $ Changes between versions 0.4b33 and 0.4b34 (released ?????????????????) ======================================================================= @@ -24,6 +24,10 @@ Changes between versions 0.4b33 and 0.4b34 (released ?????????????????) Thanks to Fabrice Bellet for reporting the bug. +6. Fixed restore corner case when dealing with large block sizes + dump is able to write now (-b 1024). Thanks to Fabrice Bellet + for reporting the bug. + Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003) ======================================================================= diff --git a/restore/tape.c b/restore/tape.c index 3db8f07..145bc65 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.70 2003/02/12 11:02:30 stelian Exp $"; + "$Id: tape.c,v 1.71 2003/02/17 10:31:45 stelian Exp $"; #endif /* not lint */ #include @@ -2657,7 +2657,7 @@ ReReadInodeFromTape(dump_ino_t theino) } while (!(spcl.c_inumber == theino && spcl.c_type == TS_INODE && spcl.c_date == dumpdate) && (cntloop < 32)); #ifdef DEBUG_QFA fprintf(stderr, "%ld reads\n", cntloop); - if (cntloop == 32) { + if (cntloop == 1024) { fprintf(stderr, "DEBUG: bufsize %d\n", bufsize); fprintf(stderr, "DEBUG: ntrec %ld\n", ntrec); fprintf(stderr, "DEBUG: %ld reads\n", cntloop); -- 2.39.2