From: Kern Sibbald Date: Mon, 18 Jun 2007 19:29:26 +0000 (+0000) Subject: kes Add some additional locking in the cats directory in subroutines X-Git-Tag: Release-2.2.0~268 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8bae7c3e876e2a04e2bb09c87a79ff9b3ae4e9e;p=bacula%2Fdocs 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. ---