kes Make arguments to get_scratch_volume() in same order as other
such calls.
kes Rework the prune_volumes() subroutine so that after purging and
no volume found in desired pool, it will check for a scratch
volume. This prevents recycling the whole scratch pool.
kes Add code to status storage to print boffset_t (largefile support).
kes Rework prune_volumes() code to take account of InChanger flag,
and to handle recycling volumes going to the Scratch pool and
current pool because the RecyclePool directive.
kes Implement a better and more efficient db_get_query_dbids() to
handle creating and passing back a list of DBIds.
kes Start work on new more efficient DBId subroutine. First use
will be for recycling volume to Scratch inchanger.
kes Increase number of JobIds in pruning from 1000 to 10000.
This to be replaced by above routine.
kes Begin implementation of building Qt4 on Win32.
kes Correct typo in fix I added for bad TLS shutdown.
kes Pull 2.0.3 patches into patches directory.
kes Update Release notes. Include qt-console in line count.
kes Update Projects file.
Kern Sibbald [Fri, 29 Jun 2007 12:12:26 +0000 (12:12 +0000)]
29Jun07
kes Implement new BST_DESPOOLING blocked state. Change from locking
during despooling in SD to blocking. This means that other threads
can work with the device structure, in particular the reservations
system while despooling.
28Jun07
kes Fix return in reservation message queue that missed clearing
the jcr lock (implemented 26Jun07 below).
kes Rename a number of dev methods to make locking function names
a bit clearer.
kes Document locking in lock.c. Move lock structures to new file
lock.h.
Kern Sibbald [Thu, 28 Jun 2007 11:57:03 +0000 (11:57 +0000)]
kes Move lock structures into new file lock.h
kes Use jcr lock for locking reservations messages rather than
the reservations lock.
kes Rename a number of locking functions to make their sense a
bit more logical (more to be done), also rename a few other
methods in the DEVICE structure.
kes Add a good bit of documentation of the SD locking mechanisms
to src/stored/lock.c
kes Convert a number of bnet_xx calls to use the new bsock class.
Dirk H Bartley [Mon, 25 Jun 2007 19:15:34 +0000 (19:15 +0000)]
The results of running the merge command:
svn merge -r5003:5087 http://bacula.svn.sourceforge.net/svnroot/bacula/branches/working/qt-console .
To see the log of changes made use
svn log -r5003:5087 http://bacula.svn.sourceforge.net/svnroot/bacula/branches/working/qt-console
Kern Sibbald [Mon, 25 Jun 2007 08:13:53 +0000 (08:13 +0000)]
kes Return correct string from authenticate.cpp in bat when connecting
to Dir.
kes Apply patch suggested by Frank Sweetser to fix bug #888 --
spurious line drops when using TLS.
kes Do not file reparse points when restoring a file that already
exists -- Win32.
Kern Sibbald [Sun, 24 Jun 2007 17:27:12 +0000 (17:27 +0000)]
kes Implement Windows reparse points -- similar to directories, but
we do not descend into it. This is a first cut. They seem to
be backed up, but restore is not yet tested.
kes Remove restore_blocking in tls code when shutting a socket to leave
it in blocking mode. Hopefully this will fix the encryption bug
reported by Frank Sweetser.
kes When opening a file for backup, tell the OS that we are going to
read it sequentially -- optimization.
kes Change variable names in authenticate_director() to not conflict
with member names in bat. Caused great confusion with compiler,
but no warnings.
Kern Sibbald [Sat, 23 Jun 2007 09:58:34 +0000 (09:58 +0000)]
kes Remove some duplicated code in tls.c
kes Move more of the bsock member variables into private and access
them with methods.
kes Add Frank Sweetser's tls-test to the regression suite.
Kern Sibbald [Thu, 21 Jun 2007 21:45:36 +0000 (21:45 +0000)]
kes Don't print clock skew message in FD if less than 3 seconds diff.
kes Add a bit of VSS info to status client.
kes Make a gross first cut of Vista VSS, using Win2003 code.
Kern Sibbald [Tue, 19 Jun 2007 09:48:44 +0000 (09:48 +0000)]
kes Fix bad return in FD when encryption signature not found.
Probably caused a crash.
kes Inhibit missing encryption signature error messages for
file types where no signature computed.
kes Correct inverted check on autochanger in reservation system.
kes Tweak debug code in autochanger reservation.
Kern Sibbald [Mon, 18 Jun 2007 19:29:26 +0000 (19:29 +0000)]
kes Add some additional locking in the cats directory in subroutines
that modify packet variables called from batch insert.
kes Rework how dcrs are allocated. new_dcr() can now be called
with an existing pointer, and it will simply clean it up.
This allows the reservation system to test various different
devices, and will permit easy device changes.
kes A bunch of changes all over to handle new new_dcr() calling
sequence.
kes Work more on the Volume management in the SD. Remember Volumes
for tape drives and for autochangers (even virtual disk changers).
kes When looking at the Volume list to reserve a drive, handle
autochanger names correctly by interating through the changer
devices. Also call the Director to see if a Volume is suitable
for the current job.
kes Fix some bugs in bscan. Make sure all media records are written.
Make sure that valid JobMedia records are written for disk files.
Previously they were completely wrong.