]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix verify volume jobs with sparse files
authorEric Bollengier <eric@baculasystems.com>
Thu, 29 Nov 2018 12:30:36 +0000 (13:30 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 8 Apr 2019 16:16:52 +0000 (18:16 +0200)
commitec0ae7b69397ec9bcd2aa384cf8b68f3c50a3f1c
tree29c621fdb8eabc945e5c6d11c8d9f52b0dd4a541
parent74943dc1f7c152f5427170d8482288a22ffa4e97
Fix verify volume jobs with sparse files

The verify read() loop was not reading the data like the backup loop was
doing. So the sparse block detection was miss-aligned giving false errors.

We now use the configuration NetworkBufferSize to adjust the amount of data we
read in a loop. I'm not sure it's 100% accurate for dedup jobs.
bacula/src/filed/verify.c