From: <ke...@us...> - 2008-02-16 12:32:32
|
Revision: 6427 http://bacula.svn.sourceforge.net/bacula/?rev=6427&view=rev Author: kerns Date: 2008-02-16 04:31:54 -0800 (Sat, 16 Feb 2008) Log Message: ----------- Misc copyright dates, debug enhancement ... Modified Paths: -------------- trunk/bacula/kernstodo trunk/bacula/src/stored/acquire.c trunk/bacula/src/stored/bextract.c trunk/bacula/src/stored/bls.c trunk/bacula/src/stored/lock.c trunk/bacula/technotes-2.3 Modified: trunk/bacula/kernstodo =================================================================== --- trunk/bacula/kernstodo 2008-02-15 21:49:39 UTC (rev 6426) +++ trunk/bacula/kernstodo 2008-02-16 12:31:54 UTC (rev 6427) @@ -1,5 +1,5 @@ Kern's ToDo List - 02 January 2008 + 15 February 2008 Document: @@ -71,6 +71,7 @@ and http://www.openeyet.nl/scc/ for managing customer changes Priority: +- Implement unmount of USB volumes. - Use "./config no-idea no-mdc2 no-rc5" on building OpenSSL for Win32 to avoid patent problems. - Plugins Modified: trunk/bacula/src/stored/acquire.c =================================================================== --- trunk/bacula/src/stored/acquire.c 2008-02-15 21:49:39 UTC (rev 6426) +++ trunk/bacula/src/stored/acquire.c 2008-02-16 12:31:54 UTC (rev 6427) @@ -359,7 +359,8 @@ !(dir_find_next_appendable_volume(dcr) && strcmp(dev->VolHdr.VolumeName, dcr->VolumeName) == 0)) { /* wrong tape mounted */ /* Wrong tape mounted, release it, then fall through to get correct one */ - Dmsg0(50, "Wrong tape mounted, release and try mount.\n"); + Dmsg3(50, "Wrong tape mounted. Wanted:%s, got:%s, dev=%s release and try mount.\n", + dcr->VolumeName, dev->VolHdr.VolumeName, dev->print_name()); release = true; do_mount = true; } else { @@ -371,14 +372,6 @@ do_mount = strcmp(dcr->VolCatInfo.VolCatStatus, "Recycle") == 0; Dmsg2(190, "jid=%u Correct tape mounted. recycle=%d\n", (uint32_t)jcr->JobId, do_mount); -#ifdef xxx - if (do_mount && dev->num_writers != 0) { - Jmsg(jcr, M_FATAL, 0, _("Cannot recycle volume \"%s\"" - " on device %s because it is in use by another job.\n"), - dev->VolHdr.VolumeName, dev->print_name()); - goto get_out; - } -#endif if (dev->num_writers == 0) { memcpy(&dev->VolCatInfo, &dcr->VolCatInfo, sizeof(dev->VolCatInfo)); } Modified: trunk/bacula/src/stored/bextract.c =================================================================== --- trunk/bacula/src/stored/bextract.c 2008-02-15 21:49:39 UTC (rev 6426) +++ trunk/bacula/src/stored/bextract.c 2008-02-16 12:31:54 UTC (rev 6427) @@ -516,5 +516,3 @@ return 1; } -void generate_plugin_event(JCR *jcr, bEventType eventType, void *value) -{ return; } Modified: trunk/bacula/src/stored/bls.c =================================================================== --- trunk/bacula/src/stored/bls.c 2008-02-15 21:49:39 UTC (rev 6426) +++ trunk/bacula/src/stored/bls.c 2008-02-16 12:31:54 UTC (rev 6427) @@ -476,5 +476,3 @@ return 1; } -void generate_plugin_event(JCR *jcr, bEventType eventType, void *value) -{ return; } Modified: trunk/bacula/src/stored/lock.c =================================================================== --- trunk/bacula/src/stored/lock.c 2008-02-15 21:49:39 UTC (rev 6426) +++ trunk/bacula/src/stored/lock.c 2008-02-16 12:31:54 UTC (rev 6427) @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2007 Free Software Foundation Europe e.V. + Copyright (C) 2000-2008 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. Modified: trunk/bacula/technotes-2.3 =================================================================== --- trunk/bacula/technotes-2.3 2008-02-15 21:49:39 UTC (rev 6426) +++ trunk/bacula/technotes-2.3 2008-02-16 12:31:54 UTC (rev 6427) @@ -2,6 +2,8 @@ General: 14Feb08 +kes Fix creating first JobMedia record during Migration to include + proper index. This caused slow restores of migrated jobs. kes Temp fix to plugin name file_index. kes Bacula backed up and restored a MySQL database. 13Feb08 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |