]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweaks
authorKern Sibbald <kern@sibbald.com>
Fri, 21 Dec 2007 14:11:40 +0000 (14:11 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 21 Dec 2007 14:11:40 +0000 (14:11 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6081 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/ua_run.c
bacula/src/stored/acquire.c

index 5d2de5c67706a6b11587122c995c700d08c0028f..40eeb6e14aed12c412a83e9f0e352b7765c4a014 100644 (file)
@@ -449,10 +449,10 @@ try_again:
       Dmsg1(800, "Calling run_job job=%x\n", jcr->job);
 
 start_job:
-      Dmsg3(000, "JobId=%u using pool %s priority=%d\n", (int)jcr->JobId, 
+      Dmsg3(100, "JobId=%u using pool %s priority=%d\n", (int)jcr->JobId, 
             jcr->pool->name(), jcr->JobPriority);
       JobId = run_job(jcr);
-      Dmsg4(000, "JobId=%u NewJobId=%d using pool %s priority=%d\n", (int)jcr->JobId, 
+      Dmsg4(100, "JobId=%u NewJobId=%d using pool %s priority=%d\n", (int)jcr->JobId, 
             JobId, jcr->pool->name(), jcr->JobPriority);
       free_jcr(jcr);                  /* release jcr */
       if (JobId == 0) {
index 2fba3600569f764276f113415c0c48061eb342e8..c8cb5571f8aa3f40607f083769330edb82931a0e 100644 (file)
@@ -373,12 +373,14 @@ DCR *acquire_device_for_append(DCR *dcr)
           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));
           }