bareos: master 529ff83c
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
arogge | arogge | master | 2022-10-05 16:05 | master 49cc107f | Pending |
Changeset | stored: register backends in plugin-registry This patch introduces a plugin regsitry that contains all loaded backends. Storage backends will self-register their factory either at startup (in case the backend is statically linked into the SD) or when the backend is loaded. From the backend's perspective, there's no difference if it is statically or dynamically loaded anymore. Finally, the loading of the backends is done right after loading the configuration, so for every device we check the presence of its backend and fail if it is missing or cannot be loaded. |
||||
add - core/src/lib/plugin_registry.h | Diff File | ||||
mod - core/src/stored/CMakeLists.txt | Diff File | ||||
mod - core/src/stored/backends/CMakeLists.txt | Diff File | ||||
mod - core/src/stored/backends/droplet_device.cc | Diff File | ||||
mod - core/src/stored/backends/gfapi_device.cc | Diff File | ||||
mod - core/src/stored/backends/unix_fifo_device.cc | Diff File | ||||
mod - core/src/stored/backends/unix_file_device.cc | Diff File | ||||
mod - core/src/stored/backends/unix_tape_device.cc | Diff File | ||||
mod - core/src/stored/dev.cc | Diff File | ||||
mod - core/src/stored/sd_backends.h | Diff File | ||||
add - core/src/stored/sd_backends_dynamic.cc | Diff File | ||||
mod - core/src/stored/stored_conf.cc | Diff File |