From 8710c6fb94ede9761c96906027e0b6ebec52b6b7 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 26 Jun 2007 14:43:32 +0000 Subject: [PATCH] Move main SD locking code into lock.c (new file). git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5100 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kernstodo | 3 +++ bacula/src/stored/Makefile.in | 12 ++++++------ bacula/src/stored/{locks.c => lock.c} | 0 bacula/src/version.h | 2 +- bacula/technotes-2.1 | 3 +++ 5 files changed, 13 insertions(+), 7 deletions(-) rename bacula/src/stored/{locks.c => lock.c} (100%) diff --git a/bacula/kernstodo b/bacula/kernstodo index 068b7019bc..3fd1513432 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -58,6 +58,9 @@ Professional Needs: http://www.microsoft.com/technet/itshowcase/content/exchbkup.mspx Priority: +- Performance: multiple spool files for a single job. +- Performance: despool attributes when despooling data (problem + multiplexing Dir connection). - Make restore use the in-use volume reservation algorithm. - Look at mincore: http://insights.oetiker.ch/linux/fadvise.html - Unicode input http://en.wikipedia.org/wiki/Byte_Order_Mark diff --git a/bacula/src/stored/Makefile.in b/bacula/src/stored/Makefile.in index 490cb26483..9c7a8eafd0 100644 --- a/bacula/src/stored/Makefile.in +++ b/bacula/src/stored/Makefile.in @@ -25,40 +25,40 @@ SDOBJS = stored.o ansi_label.o \ askdir.o authenticate.o \ block.o butil.o dev.o \ device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o \ - label.o locks.o mac.o match_bsr.o mount.o parse_bsr.o \ + label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o \ pythonsd.o read.o read_record.o record.o \ reserve.o scan.o \ spool.o status.o stored_conf.o wait.o # btape TAPEOBJS = btape.o block.o butil.o dev.o device.o label.o \ - locks.o ansi_label.o dvd.o ebcdic.o \ + lock.o ansi_label.o dvd.o ebcdic.o \ autochanger.o acquire.o mount.o record.o read_record.o \ reserve.o \ stored_conf.o match_bsr.o parse_bsr.o scan.o spool.o wait.o # bls BLSOBJS = bls.o block.o butil.o device.o dev.o label.o match_bsr.o \ - ansi_label.o dvd.o ebcdic.o locks.o \ + ansi_label.o dvd.o ebcdic.o lock.o \ autochanger.o acquire.o mount.o parse_bsr.o record.o \ read_record.o reserve.o scan.o stored_conf.o spool.o wait.o # bextract BEXTOBJS = bextract.o block.o device.o dev.o label.o record.o \ - ansi_label.o dvd.o ebcdic.o locks.o \ + ansi_label.o dvd.o ebcdic.o lock.o \ autochanger.o acquire.o mount.o match_bsr.o parse_bsr.o butil.o \ pythonsd.o read_record.o reserve.o \ scan.o stored_conf.o spool.o wait.o # bscan SCNOBJS = bscan.o block.o device.o dev.o label.o \ - ansi_label.o dvd.o ebcdic.o locks.o \ + ansi_label.o dvd.o ebcdic.o lock.o \ autochanger.o acquire.o mount.o record.o match_bsr.o parse_bsr.o \ butil.o read_record.o scan.o reserve.o stored_conf.o spool.o wait.o # bcopy COPYOBJS = bcopy.o block.o device.o dev.o label.o \ - ansi_label.o dvd.o ebcdic.o locks.o \ + ansi_label.o dvd.o ebcdic.o lock.o \ autochanger.o acquire.o mount.o record.o match_bsr.o parse_bsr.o \ butil.o read_record.o reserve.o \ scan.o stored_conf.o spool.o wait.o diff --git a/bacula/src/stored/locks.c b/bacula/src/stored/lock.c similarity index 100% rename from bacula/src/stored/locks.c rename to bacula/src/stored/lock.c diff --git a/bacula/src/version.h b/bacula/src/version.h index 2bce5f5292..4a72952153 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -3,7 +3,7 @@ */ #undef VERSION -#define VERSION "2.1.22" +#define VERSION "2.1.23" #define BDATE "26 June 2007" #define LSMDATE "26Jun07" diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 93230e409c..8da5e9fe6b 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -2,6 +2,9 @@ General: +26Jun07 +kes Move main SD locking code into lock.c (new file). + Release 2.1.22 beta 26Jun07 kes Dirk committed the qwt library code for drawing graphs in bat. -- 2.39.5