kes Correct name overloading in mount.c
kes Replace released flag in VOLRES with reserved and add access
methods for the VOLRES class.
kes Prevent volume from being released while being swapped.
Eric Bollengier [Wed, 9 Apr 2008 19:55:36 +0000 (19:55 +0000)]
ebl Add sanity checks for VolWriteTime and VolReadTime
ebl Take care of bad clock changes while computing VolWriteTime
and VolReadTime. This should fix or limit #1066
kes Correct error string numbers in dird/catreq.c
kes Restructure reserving, acquiring, and mounting volumes. Calls to
autochanger are deferred for mount.c -- simplifes the code.
kes Correctly detect Ubuntu systems, and add ubuntu platform directory.
kes Fix bug #1063, reuse of freed ptr in list nextvol.
kes Release regex compile buffer in filed/job.c
kes Add proper type of const char in sql_create.c
kes Turn off debug in daemon termination routines
kes Move free_volume_list() before devices are freed in stored.c
kes Fix reference to uninitalized stack variables in bregex.c.
This should correct bug #1067.
kes Modify run_program() and run_program_full_output() to use
call by reference for the results string. This corrects a long
standing problem where the address of the string may be changed
in the subroutine but not in the calling program.
Kern Sibbald [Mon, 31 Mar 2008 16:52:42 +0000 (16:52 +0000)]
kes Remember what volume is in VTLs (previously turned off for
testing).
kes Analysis of JobMedia records by Tom Ivar Helbekkmo <tih@hamartun.priv.no>
pointed out some problems in creating JobMedia records during
spooling with concurrent jobs. Fix the problem by updating the
start file position before despooling and generate a jobmedia
record at the end of despooling.
Kern Sibbald [Wed, 26 Mar 2008 20:51:14 +0000 (20:51 +0000)]
kes Implement bsock code to permit locking. Use the new code in Verify
in the FD to prevent the heartbeat thread from disrupting the Verify
data sent to the Dir.
kes Modify SD locking to eliminate locking the reservations system from
outside the system. Use the volume lock when getting media data
and reserving a new volume at end of media.
kes Add Eric's volume_unused() fix to stored.c so that Volumes found
when SD starts are not locked into place.
Kern Sibbald [Mon, 24 Mar 2008 13:30:48 +0000 (13:30 +0000)]
24Mar08
kes Tweak Win32 mount point code.
kes Fix a couple of bugs in the accurate code (bad sscanf, buffer not
cleared giving bad file estimate).
kes Implement BIG_MALLOC in htable code. Runs 2.5 times faster for
5 Million entries.
Kern Sibbald [Sat, 22 Mar 2008 09:34:45 +0000 (09:34 +0000)]
Fix bug pointed out by Peter Much that causes the StorageId to
be updated when reading a tape (during migration, it could have
been incorrectly set to the write StorageId).
Kern Sibbald [Tue, 18 Mar 2008 19:45:26 +0000 (19:45 +0000)]
kes Apply doc fix from bug #1062.
kes Resolve crash and improper restore wx-console Win32 restore
GUI. Fixes bug #1065.
kes Update Win32 wxWidgets to latest version.
kes Attempt to do correct handling of Win32 mount points. Should
fix bug #1046.
kes Fix Win32 FD backup/restore memory leak due to improper termination
of BackupRead/Write. This fixes bug# 1038.