Changesets: bareos

bareos-14.2 a6d80d52

2014-09-27 20:39

Marco van Wieringen

Ported: N/A

Details Diff
Refactor daemon plugin handling.

Major refactoring for allowing to drop the one-to-one plugin and
plugin context relationship. We eventually want to allow multiple
instances of one plugin (python plugin comes to mind). When we use
an alist for storing the plugin context which has a pointer to the
actual plugin that the context is linked to we can easily use the
actual callback we need to call in the plugin with the active context.
As we are no longer walking the shared plugin alist we also don't need
to always use the foreach_alist_index to be sure we don't run into
problems with multi threading.

Some state is captured in the shared plugin data which is used by
multiple threads in the filed. This is probably not to smart as it
means that the state is shared between multiple threads and so multiple
backup jobs what is not something you want. As this is mostly core code
and probably not used by any important plugin in the wild it might for
now not be a big problem but it may become a problem if we implement
some more filed plugins.

Added the bDirEventNewPluginOptions event which will allow the dir to
implement the loading of multiple instances of the same plugin each with
its private context.

Added the bsdEventNewPluginOptions event which will allow the storage
daemon to implement the loading of multiple instances of the same plugin
each with its private context.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/job.c Diff File
mod - src/dird/msgchan.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/filed/backup.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/filed/restore.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

master 52598b17

2014-09-27 19:50

mvwieringen

Ported: N/A

Details Diff
Add support for printing JobDefs.
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File

bareos-14.2 992cae5b

2014-09-27 19:50

Marco van Wieringen

Ported: N/A

Details Diff
Add support for printing JobDefs.
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File

master 64b9b852

2014-09-26 17:22

Marco van Wieringen

Ported: N/A

Details Diff
Add missing config printing for new audit events configtype.
mod - src/dird/dird_conf.c Diff File

master 2c8328be

2014-09-26 15:22

mvwieringen

Ported: N/A

Details Diff
Add missing config printing for new audit events configtype.
mod - src/dird/dird_conf.c Diff File

bareos-14.2 99f16768

2014-09-26 15:22

mvwieringen

Ported: N/A

Details Diff
Add missing config printing for new audit events configtype.
mod - src/dird/dird_conf.c Diff File

master f60f942f

2014-09-26 13:33

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
print_config: check if resource it used at all

prevents a segfault on director, when running with debug >= 900

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master 561a63e1

2014-09-26 12:42

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Autoxflate writes jobmessages what it does

- What compression algo is being used for deflate
- does it deflate/enflate
- what ratio was compressed/decompressed
mod - src/plugins/stored/autoxflate-sd.c Diff File

master c2124896

2014-09-26 12:07

Marco van Wieringen

Ported: N/A

Details Diff
Don't let sd and dir python plugins setup signalhandlers.

Just as we already did in the python-fd use Py_InitializeEx(0)
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/stored/python-sd.c Diff File

master 8fffa036

2014-09-26 11:33

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
print_config: check if resource it used at all

prevents a segfault on director, when running with debug >= 900

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

bareos-14.2 e4d36a12

2014-09-26 11:33

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
print_config: check if resource it used at all

prevents a segfault on director, when running with debug >= 900

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master bc423fe9

2014-09-26 11:10

Marco van Wieringen

Ported: N/A

Details Diff
Make comment somewhat more understandable.
mod - src/plugins/filed/python-fd.c Diff File

master ef98a9fc

2014-09-26 11:10

Marco van Wieringen

Ported: N/A

Details Diff
Allow multiple plugin names.

Next to specifying plugin names a a single colon separated plugin name
list also allow to specify multiple lines with plugin names with one or
more names.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

master aad74455

2014-09-26 10:42

pstorz

Ported: N/A

Details Diff
Autoxflate writes jobmessages what it does

- What compression algo is being used for deflate
- does it deflate/enflate
- what ratio was compressed/decompressed
mod - src/plugins/stored/autoxflate-sd.c Diff File

bareos-14.2 a1476b52

2014-09-26 10:42

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Autoxflate writes jobmessages what it does

- What compression algo is being used for deflate
- does it deflate/enflate
- what ratio was compressed/decompressed
mod - src/plugins/stored/autoxflate-sd.c Diff File

master ef99916c

2014-09-26 10:07

mvwieringen

Ported: N/A

Details Diff
Don't let sd and dir python plugins setup signalhandlers.

Just as we already did in the python-fd use Py_InitializeEx(0)
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/stored/python-sd.c Diff File

bareos-14.2 63996bcd

2014-09-26 10:07

mvwieringen

Ported: N/A

Details Diff
Don't let sd and dir python plugins setup signalhandlers.

Just as we already did in the python-fd use Py_InitializeEx(0)
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/stored/python-sd.c Diff File

master ed5479e8

2014-09-26 09:10

mvwieringen

Ported: N/A

Details Diff
Make comment somewhat more understandable.
mod - src/plugins/filed/python-fd.c Diff File

bareos-14.2 f8a50be2

2014-09-26 09:10

mvwieringen

Ported: N/A

Details Diff
Make comment somewhat more understandable.
mod - src/plugins/filed/python-fd.c Diff File

master 9ea53fa6

2014-09-26 09:10

mvwieringen

Ported: N/A

Details Diff
Allow multiple plugin names.

Next to specifying plugin names a a single colon separated plugin name
list also allow to specify multiple lines with plugin names with one or
more names.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

bareos-14.2 51d6b6ca

2014-09-26 09:10

mvwieringen

Ported: N/A

Details Diff
Allow multiple plugin names.

Next to specifying plugin names a a single colon separated plugin name
list also allow to specify multiple lines with plugin names with one or
more names.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

master 511fbcb7

2014-09-24 17:27

Marco van Wieringen

Ported: N/A

Details Diff
Fix typo.

Fixes 0000341: stored compile fails
mod - src/stored/backends/generic_tape_device.c Diff File

bareos-14.2 438769fa

2014-09-24 15:27

mvwieringen

Ported: N/A

Details Diff
Fix typo.

Fixes 0000341: stored compile fails
Affected Issues
0000341
mod - src/stored/backends/generic_tape_device.c Diff File

master 3653b3aa

2014-09-24 15:27

mvwieringen

Ported: N/A

Details Diff
Fix typo.

Fixes 0000341: stored compile fails
Affected Issues
0000341
mod - src/stored/backends/generic_tape_device.c Diff File

master 177d88cb

2014-09-19 15:00

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
glusterfs backend requires expliciet dependency

otherwise only the GlusterFS libraries getting installed,
but not the support files and daemon.
mod - platforms/packaging/bareos.spec Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 612 613 614 615 616 617 618 ... 630 ... 693 694 695  Next  Last