Autochanger.
kes Add patch supplied in bug #1068 that fixes a SD crash when using
a Virtual autochanger.
kes Generate correct JobMedia records during spooling/despooling when
running concurrent jobs. Thanks to Tom Ivar Helbekkmo
<tih@hamartun.priv.no> for excellent analysis and testing.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6710
91ce42f0-d328-0410-95d8-
f526ca767f89
return false;
}
+ /* Virtual disk autochanger */
+ if (dcr->device->changer_command[0] == 0) {
+ return true;
+ }
+
if (loaded < 0) {
loaded = get_autochanger_loaded_slot(dcr);
}
Pmsg2(000, _("End of Volume \"%s\" %d records.\n"), dcr->VolumeName,
quickie_count);
- volume_unused(dcr);
+ volume_unused(dcr); /* release current volume */
if (LastBlock != block->BlockNumber) {
VolBytes += block->block_len;
}
* where the tapes are or last were.
*/
dev->vol->released = true;
- if (dev->is_tape()) { // || dev->is_autochanger()) {
+ if (dev->is_tape() || dev->is_autochanger()) {
return true;
} else {
/*
/* Add run time, to get current wait time */
time_t despool_start = time(NULL) - jcr->run_time;
+ set_new_file_parameters(dcr);
+
for ( ; ok; ) {
if (job_canceled(jcr)) {
ok = false;
Dmsg3(800, "Write block ok=%d FI=%d LI=%d\n", ok, block->FirstIndex, block->LastIndex);
}
+ if (!dir_create_jobmedia_record(dcr)) {
+ Jmsg(jcr, M_FATAL, 0, _("Could not create JobMedia record for Volume=\"%s\" Job=%s\n"),
+ dcr->VolCatInfo.VolCatName, jcr->Job);
+ }
+ /* Set new file/block parameters for current dcr */
+ set_new_file_parameters(dcr);
+
/* Subtracting run_time give us elapsed time - wait_time since we started despooling */
time_t despool_elapsed = time(NULL) - despool_start - jcr->run_time;
--with-zlib-include=${DEPPKG_DIR}/include \
mingw32 > make.log 2>&1
fi
+#
+# add the following to the above for 3.0.0
+# no-idea no-mdc2 no-rc5 \
+#
echo Building openssl
perl util/mkdef.pl 32 libeay no-static-engine >ms/libeay32.def
perl util/mkdef.pl 32 ssleay >ms/ssleay32.def
Technical notes on version 2.2
General:
+01Apr08
+kes Re-enable code to remember last volume mounted on a non-tape
+ Autochanger.
+kes Add patch supplied in bug #1068 that fixes a SD crash when using
+ a Virtual autochanger.
+kes Generate correct JobMedia records during spooling/despooling when
+ running concurrent jobs. Thanks to Tom Ivar Helbekkmo
+ <tih@hamartun.priv.no> for excellent analysis and testing.
+
Beta release Version 2.2.9-b3
27Mar08
kes Rework certain SD locking based on gdb tracebacks of deadlocks