From: <ke...@us...> - 2007-02-15 18:53:38
|
Revision: 4182 http://bacula.svn.sourceforge.net/bacula/?rev=4182&view=rev Author: kerns Date: 2007-02-15 10:53:37 -0800 (Thu, 15 Feb 2007) Log Message: ----------- tweaks Modified Paths: -------------- trunk/bacula/kernstodo trunk/bacula/src/filed/job.c trunk/bacula/src/stored/dev.c trunk/bacula/src/stored/fd_cmds.c trunk/bacula/technotes-2.1 Modified: trunk/bacula/kernstodo =================================================================== --- trunk/bacula/kernstodo 2007-02-14 10:19:41 UTC (rev 4181) +++ trunk/bacula/kernstodo 2007-02-15 18:53:37 UTC (rev 4182) @@ -41,6 +41,21 @@ Priority: +- btape "test" command with Offline on Unmount = yes + + This test is essential to Bacula. + + I'm going to write one record in file 0, + two records in file 1, + and three records in file 2 + + 02-Feb 11:00 btape: ABORTING due to ERROR in dev.c:715 + dev.c:714 Bad call to rewind. Device "LTO" (/dev/nst0) not open + 02-Feb 11:00 btape: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation + Kaboom! btape, btape got signal 11. Attempting traceback. + +- Why the heck doesn't bacula drop root priviledges before connecting to + the DB? - Ensure that moving a purged Volume in ua_purge.c to the RecyclePool does the right thing. - Why doesn't @"xxx abc" work in a conf file? Modified: trunk/bacula/src/filed/job.c =================================================================== --- trunk/bacula/src/filed/job.c 2007-02-14 10:19:41 UTC (rev 4181) +++ trunk/bacula/src/filed/job.c 2007-02-15 18:53:37 UTC (rev 4182) @@ -249,7 +249,7 @@ bnet_sig(jcr->store_bsock, BNET_TERMINATE); } - /* run after job */ + /* Run the after job */ run_scripts(jcr, jcr->RunScripts, "ClientAfterJob"); generate_daemon_event(jcr, "JobEnd"); Modified: trunk/bacula/src/stored/dev.c =================================================================== --- trunk/bacula/src/stored/dev.c 2007-02-14 10:19:41 UTC (rev 4181) +++ trunk/bacula/src/stored/dev.c 2007-02-15 18:53:37 UTC (rev 4182) @@ -2205,7 +2205,7 @@ { ssize_t read_len ; -// get_timer_count(); + get_timer_count(); if (this->is_tape()) { read_len = tape_read(fd, buf, len); @@ -2213,7 +2213,7 @@ read_len = ::read(fd, buf, len); } -// last_tick = get_timer_count(); + last_tick = get_timer_count(); DevReadTime += last_tick; VolCatInfo.VolReadTime += last_tick; @@ -2230,7 +2230,7 @@ { ssize_t write_len ; -// get_timer_count(); + get_timer_count(); if (this->is_tape()) { write_len = tape_write(fd, buf, len); @@ -2238,7 +2238,7 @@ write_len = ::write(fd, buf, len); } -// last_tick = get_timer_count(); + last_tick = get_timer_count(); DevWriteTime += last_tick; VolCatInfo.VolWriteTime += last_tick; Modified: trunk/bacula/src/stored/fd_cmds.c =================================================================== --- trunk/bacula/src/stored/fd_cmds.c 2007-02-14 10:19:41 UTC (rev 4181) +++ trunk/bacula/src/stored/fd_cmds.c 2007-02-15 18:53:37 UTC (rev 4182) @@ -193,9 +193,6 @@ jcr->JobType = JT_BACKUP; if (do_append_data(jcr)) { return true; -#ifdef xxx - return bnet_fsend(fd, OK_append); -#endif } else { bnet_suppress_error_messages(fd, 1); /* ignore errors at this point */ bnet_fsend(fd, ERROR_append); Modified: trunk/bacula/technotes-2.1 =================================================================== --- trunk/bacula/technotes-2.1 2007-02-14 10:19:41 UTC (rev 4181) +++ trunk/bacula/technotes-2.1 2007-02-15 18:53:37 UTC (rev 4182) @@ -2,6 +2,7 @@ General: 13Feb07 +kes Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1. ebl Use btime_t instead of uint64_t in media patch. 11Feb07 kes Optimize the use of the database a bit in the Status dir command. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |