Changesets: bareos

bareos-14.2 f941aa3e

2015-11-09 14:34

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fixed double declaration of variable i

This makes the loop variable shadow the variable with a wider scope and
as such it doesn't have a defined value after the loops exits.

Fixes 0000556: File Relocation does not work
Affected Issues
0000556
mod - src/lib/bregex.c Diff File

bareos-13.2 86cc27e6

2015-11-09 14:34

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fixed double declaration of variable i

This makes the loop variable shadow the variable with a wider scope and
as such it doesn't have a defined value after the loops exits.

Fixes 0000556: File Relocation does not work
Affected Issues
0000556
mod - src/lib/bregex.c Diff File

bareos-12.4 e678dfa3

2015-11-09 14:34

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fixed double declaration of variable i

This makes the loop variable shadow the variable with a wider scope and
as such it doesn't have a defined value after the loops exits.

Fixes 0000556: File Relocation does not work
Affected Issues
0000556
mod - src/lib/bregex.c Diff File

master 41f82634

2015-11-09 13:54

joergs


Committer: pstorz

Ported: N/A

Details Diff
SLES12: add support for CEPH

build the packages
- bareos-filedaemon-ceph-plugin
- bareos-storage-ceph
mod - platforms/packaging/bareos.spec Diff File

master cfdd0f3f

2015-11-09 13:54

joergs

Ported: N/A

Details Diff
SLES12: add support for CEPH

build the packages
- bareos-filedaemon-ceph-plugin
- bareos-storage-ceph
mod - platforms/packaging/bareos.spec Diff File

master 8ca039b8

2015-11-08 19:35

Joerg Steffens

Ported: N/A

Details Diff
added directory each_jobname_last_run
mod - bareos/fuse/node/jobs.py Diff File

bareos-15.2 a416895d

2015-11-08 15:06

mvwieringen

Ported: N/A

Details Diff
dird: Add expansion for bytes in human readable format.

Next to %b also allow %B for Job Bytes in human readable format.
mod - src/lib/util.c Diff File

bareos-14.2 412eea58

2015-11-08 15:06

mvwieringen

Ported: N/A

Details Diff
dird: Add expansion for bytes in human readable format.

Next to %b also allow %B for Job Bytes in human readable format.
mod - src/lib/util.c Diff File

bareos-15.2 f9fc2a52

2015-11-06 16:58

Adam Thompson


Committer: joergs

Ported: N/A

Details Diff
Describe Linux-specific error

Add a sentence that's greppable so this documentation can be found.
mod - README.scsicrypto Diff File

master fc0af3af

2015-11-05 20:40

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - platforms/packaging/bareos.spec Diff File
mod - src/dird/ndmp_fhdb_mem.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File
mod - src/ndmp/ndma_comm_dispatch.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_ctrl_calls.c Diff File
mod - src/ndmp/ndma_ctrl_media.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndma_ctst_tape.c Diff File
mod - src/ndmp/ndma_data.c Diff File
mod - src/ndmp/ndma_data_fh.c Diff File
mod - src/ndmp/ndma_listmgmt.c Diff File
mod - src/ndmp/ndma_noti_calls.c Diff File
mod - src/ndmp/ndma_tape.c Diff File
mod - src/ndmp/ndma_tape_simulator.c Diff File
mod - src/ndmp/ndmagents.h Diff File
mod - src/ndmp/ndmjob_simulator.c Diff File
mod - src/ndmp/ndml_chan.c Diff File
mod - src/ndmp/ndml_fhdb.c Diff File
mod - src/ndmp/ndml_log.c Diff File
mod - src/ndmp/ndml_media.c Diff File
mod - src/ndmp/ndmlib.h Diff File
mod - src/ndmp/ndmos.h Diff File
mod - src/ndmp/ndmos_common.c Diff File
mod - src/ndmp/ndmp0.x Diff File
mod - src/ndmp/ndmp2.x Diff File
mod - src/ndmp/ndmp2_translate.c Diff File
mod - src/ndmp/ndmp2_xmt.c Diff File
mod - src/ndmp/ndmp3.x Diff File
mod - src/ndmp/ndmp3_translate.c Diff File
mod - src/ndmp/ndmp3_xmt.c Diff File
mod - src/ndmp/ndmp4.x Diff File
mod - src/ndmp/ndmp4_translate.c Diff File
mod - src/ndmp/ndmp4_xmt.c Diff File
mod - src/ndmp/ndmp9.x Diff File
mod - src/ndmp/ndmp9_xmt.c Diff File
mod - src/ndmp/ndmp_msg_buf.h Diff File
mod - src/ndmp/ndmp_translate.c Diff File
mod - src/ndmp/ndmp_translate.h Diff File
mod - src/ndmp/smc.h Diff File
mod - src/ndmp/smc_raw.h Diff File
mod - src/ndmp/wraplib.c Diff File
mod - src/ndmp/wraplib.h Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos-15.2 e073a9de

2015-11-05 16:21

joergs

Ported: N/A

Details Diff
Fix broken package dependency

The RPM package bareos-filedaemon-ldap-python-plugin had a wrong dependency
to filedaemon-python-plugin instead of bareos-filedaemon-ldap-python-plugin.

Fixes 0000551: Unable to install bareos-filedaemon-ldap-python-plugin
Affected Issues
0000551
mod - platforms/packaging/bareos.spec Diff File

master 638de766

2015-11-04 15:23

joergs

Ported: N/A

Details Diff
bcommand: add .jobstatus command
mod - src/cats/sql_cmds.c Diff File
mod - src/cats/sql_cmds.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos-15.2 f15adf67

2015-11-03 00:12

mvwieringen

Ported: N/A

Details Diff
NDMP: Switch ndmplib to 2015 data types.

- u_short ==> uint16_t
- u_long ==> uint32_t
- int ==> int32_t
- unsigned long long ==> uint64_t
- long long ==> int64_t
- unsigned long ==> uint32_t
- unsigned short ==> uint16_t

For GCC we now disable the following warning:

-Wunused-variable
-Wunused-but-set-variable
-Wformat
-Wenum-compare

For the Solaris Studio compiler we now disable the following warnings:

- E_ENUM_TYPE_MISMATCH_OP
- E_ENUM_TYPE_MISMATCH_ARG
- E_STATEMENT_NOT_REACHED

Those warnings are not too interesting for this code as
we are not going to fix those problems anyway.

The original problem we encountered was the following:

In solaris, the xdrrec_putlong function has the following check:

if ((*lp > INT32_MAX) || (*lp < INT32_MIN))
return (FALSE);

As the NDMP code assumes everywhere that long is 4 bytes, but on LP64 it
is 8 bytes, we get the problem that this check triggers and we get
always false back. The LP64 gets enabled when compiling your code for
64 bits on at least SPARC. We didn't see this phenomenon on 64 bits
compiled code on X86 with the Solaris Studio compiler on Illumos.

We fix this problem by using XDR_GETINT32 and XDR_PUTINT32 on LP64,
instead of XDR_GETLONG and XDR_PUTLONG which handles 4 bytes and so
works as desired.

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
mod - src/ndmp/ndma_comm_dispatch.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_ctrl_calls.c Diff File
mod - src/ndmp/ndma_ctrl_media.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndma_ctst_tape.c Diff File
mod - src/ndmp/ndma_data.c Diff File
mod - src/ndmp/ndma_data_fh.c Diff File
mod - src/ndmp/ndma_listmgmt.c Diff File
mod - src/ndmp/ndma_noti_calls.c Diff File
mod - src/ndmp/ndma_tape.c Diff File
mod - src/ndmp/ndma_tape_simulator.c Diff File
mod - src/ndmp/ndmagents.h Diff File
mod - src/ndmp/ndmjob_simulator.c Diff File
mod - src/ndmp/ndml_chan.c Diff File
mod - src/ndmp/ndml_fhdb.c Diff File
mod - src/ndmp/ndml_log.c Diff File
mod - src/ndmp/ndml_media.c Diff File
mod - src/ndmp/ndmlib.h Diff File
mod - src/ndmp/ndmos.h Diff File
mod - src/ndmp/ndmos_common.c Diff File
mod - src/ndmp/ndmp0.x Diff File
mod - src/ndmp/ndmp2.x Diff File
mod - src/ndmp/ndmp2_translate.c Diff File
mod - src/ndmp/ndmp2_xmt.c Diff File
mod - src/ndmp/ndmp3.x Diff File
mod - src/ndmp/ndmp3_translate.c Diff File
mod - src/ndmp/ndmp3_xmt.c Diff File
mod - src/ndmp/ndmp4.x Diff File
mod - src/ndmp/ndmp4_translate.c Diff File
mod - src/ndmp/ndmp4_xmt.c Diff File
mod - src/ndmp/ndmp9.x Diff File
mod - src/ndmp/ndmp9_xmt.c Diff File
mod - src/ndmp/ndmp_msg_buf.h Diff File
mod - src/ndmp/ndmp_translate.c Diff File
mod - src/ndmp/ndmp_translate.h Diff File
mod - src/ndmp/smc.h Diff File
mod - src/ndmp/smc_raw.h Diff File
mod - src/ndmp/wraplib.c Diff File
mod - src/ndmp/wraplib.h Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos-14.2 f4ad97c2

2015-11-03 00:12

mvwieringen

Ported: N/A

Details Diff
NDMP: Switch ndmplib to 2015 data types.

- u_short ==> uint16_t
- u_long ==> uint32_t
- int ==> int32_t
- unsigned long long ==> uint64_t
- long long ==> int64_t
- unsigned long ==> uint32_t
- unsigned short ==> uint16_t

For GCC we now disable the following warning:

-Wunused-variable
-Wunused-but-set-variable
-Wformat
-Wenum-compare

For the Solaris Studio compiler we now disable the following warnings:

- E_ENUM_TYPE_MISMATCH_OP
- E_ENUM_TYPE_MISMATCH_ARG
- E_STATEMENT_NOT_REACHED

Those warnings are not too interesting for this code as
we are not going to fix those problems anyway.

The original problem we encountered was the following:

In solaris, the xdrrec_putlong function has the following check:

if ((*lp > INT32_MAX) || (*lp < INT32_MIN))
return (FALSE);

As the NDMP code assumes everywhere that long is 4 bytes, but on LP64 it
is 8 bytes, we get the problem that this check triggers and we get
always false back. The LP64 gets enabled when compiling your code for
64 bits on at least SPARC. We didn't see this phenomenon on 64 bits
compiled code on X86 with the Solaris Studio compiler on Illumos.

We fix this problem by using XDR_GETINT32 and XDR_PUTINT32 on LP64,
instead of XDR_GETLONG and XDR_PUTLONG which handles 4 bytes and so
works as desired.

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
mod - src/ndmp/ndma_comm_dispatch.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_query.c Diff File
mod - src/ndmp/ndma_ctrl_calls.c Diff File
mod - src/ndmp/ndma_ctrl_media.c Diff File
mod - src/ndmp/ndma_ctst_mover.c Diff File
mod - src/ndmp/ndma_ctst_subr.c Diff File
mod - src/ndmp/ndma_ctst_tape.c Diff File
mod - src/ndmp/ndma_data.c Diff File
mod - src/ndmp/ndma_data_fh.c Diff File
mod - src/ndmp/ndma_listmgmt.c Diff File
mod - src/ndmp/ndma_noti_calls.c Diff File
mod - src/ndmp/ndma_tape.c Diff File
mod - src/ndmp/ndma_tape_simulator.c Diff File
mod - src/ndmp/ndmagents.h Diff File
mod - src/ndmp/ndmjob_simulator.c Diff File
mod - src/ndmp/ndml_chan.c Diff File
mod - src/ndmp/ndml_fhdb.c Diff File
mod - src/ndmp/ndml_log.c Diff File
mod - src/ndmp/ndml_media.c Diff File
mod - src/ndmp/ndmlib.h Diff File
mod - src/ndmp/ndmos.h Diff File
mod - src/ndmp/ndmos_common.c Diff File
mod - src/ndmp/ndmp0.x Diff File
mod - src/ndmp/ndmp2.x Diff File
mod - src/ndmp/ndmp2_translate.c Diff File
mod - src/ndmp/ndmp2_xmt.c Diff File
mod - src/ndmp/ndmp3.x Diff File
mod - src/ndmp/ndmp3_translate.c Diff File
mod - src/ndmp/ndmp3_xmt.c Diff File
mod - src/ndmp/ndmp4.x Diff File
mod - src/ndmp/ndmp4_translate.c Diff File
mod - src/ndmp/ndmp4_xmt.c Diff File
mod - src/ndmp/ndmp9.x Diff File
mod - src/ndmp/ndmp9_xmt.c Diff File
mod - src/ndmp/ndmp_msg_buf.h Diff File
mod - src/ndmp/ndmp_translate.c Diff File
mod - src/ndmp/ndmp_translate.h Diff File
mod - src/ndmp/smc.h Diff File
mod - src/ndmp/smc_raw.h Diff File
mod - src/ndmp/wraplib.c Diff File
mod - src/ndmp/wraplib.h Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos-15.2 7c7148ff

2015-11-02 23:08

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
bcommand: support compact json representation

By default, compact = false.
Using ".api json compact=true" can reduce the json result string by 1/3,
so it is adviced to use this whenever human readablity is not required.
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File

master 8b379a2e

2015-11-02 17:20

Frank Bergkemper

Ported: N/A

Details Diff
JS: jqplot inclusion

Includes jqplot library only where it's needed.

Signed-off-by: Frank Bergkemper <frank.bergkemper@dass-it.de>
mod - module/Application/view/layout/layout.phtml Diff File
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File

bareos-15.2 abeab96d

2015-11-02 13:41

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
bcommand: verify that result is send correctly

if not, in api 0 or 1, don't do output at all,
in api mode 2, send a json error message.
mod - src/dird/protos.h Diff File
mod - src/dird/ua_output.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File

bareos-15.2 42ac8a11

2015-11-02 12:06

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
bcommand: .api: get rid of a warning message
mod - src/dird/ua_dotcmds.c Diff File

bareos-15.2 d3168ac1

2015-11-02 11:59

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
bcommand: json: fix memory leak
mod - src/lib/output_formatter.c Diff File

bareos-15.2 9b78b96b

2015-10-30 22:41

mvwieringen

Ported: N/A

Details Diff
NDMP: Add out of order meta data handling.

This uses an additional hash table when we receive the FHDB dir
information in a somewhat random order from the NDMP DATA Agent.
The NetApp NDMP implementation is known to do this semi random ordering.

We pre-allocate the nodes in the same way they are normally created them
but store them temporary in the hash table as a pointer to the node and
the node id of its parent. This way we use the tree alloc optimal.

When we start processing the actual node information we first look if
there is any out of order metadata captured in the hash table. If so we
do a linear walk of the hash table and recursivly create the missing
parent nodes until we can connect things to the existing tree. For
creating the parent node we hash lookup the parent node in the hash and
try inserting it into the tree. When we consume the node for a parent
node we set the pointer to the node to NULL in the hash table entry.
This way the linear walk knows we already visited this node and can skip
it.
Affected Issues
0000330
mod - src/dird/ndmp_fhdb_mem.c Diff File

bareos-14.2 c57f83f3

2015-10-30 22:41

mvwieringen

Ported: N/A

Details Diff
NDMP: Add out of order meta data handling.

This uses an additional hash table when we receive the FHDB dir
information in a somewhat random order from the NDMP DATA Agent.
The NetApp NDMP implementation is known to do this semi random ordering.

We pre-allocate the nodes in the same way they are normally created them
but store them temporary in the hash table as a pointer to the node and
the node id of its parent. This way we use the tree alloc optimal.

When we start processing the actual node information we first look if
there is any out of order metadata captured in the hash table. If so we
do a linear walk of the hash table and recursivly create the missing
parent nodes until we can connect things to the existing tree. For
creating the parent node we hash lookup the parent node in the hash and
try inserting it into the tree. When we consume the node for a parent
node we set the pointer to the node to NULL in the hash table entry.
This way the linear walk knows we already visited this node and can skip
it.
mod - src/dird/ndmp_fhdb_mem.c Diff File

master 0b34c5b3

2015-10-30 20:56

Joerg Steffens

Ported: N/A

Details Diff
added pool structure
mod - bareos/fuse/node/__init__.py Diff File
add - bareos/fuse/node/pool.py Diff File
add - bareos/fuse/node/pools.py Diff File
mod - bareos/fuse/root.py Diff File

master ccc5b9aa

2015-10-30 18:06

Joerg Steffens

Ported: N/A

Details Diff
optimize caching
mod - bareos/fuse/node/base.py Diff File
mod - bareos/fuse/node/directory.py Diff File
mod - bareos/fuse/node/job.py Diff File
mod - bareos/fuse/node/jobsname.py Diff File
mod - bareos/fuse/node/volume.py Diff File

master 2862ab10

2015-10-30 18:05

Joerg Steffens

Ported: N/A

Details Diff
bugfix for empty joblog entries
mod - bareos/fuse/node/joblog.py Diff File

master 2c08394d

2015-10-30 18:04

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - src/dird/dird_conf.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/findlib/attribs.c Diff File
mod - src/lib/compression.c Diff File
mod - src/lib/util.c Diff File
mod - src/lmdb/mdb.c Diff File
mod - src/stored/reserve.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 474 475 476 477 478 479 480 ... 540 ... 600 ... 608 609 610  Next  Last