|
mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
|
#include "store.h"Go to the source code of this file.
Functions | |
| struct storage_backend * | init_storage_rados (const char *connection_string) |
| Allocate and initialize a Ceph RADOS metatile storage_backend. | |
| struct storage_backend * init_storage_rados | ( | const char * | connection_string | ) |
Allocate and initialize a Ceph RADOS metatile storage_backend.
Parses connection_string of the form "rados://<pool>/<path/to/ceph.conf>", creates a rados_t cluster handle, loads the Ceph configuration file, connects to the cluster (serialized via rados_mutex), opens an I/O context to <pool>, allocates the single-entry metadata_cache buffer, and wires all backend operation function pointers. Returns NULL if compiled without HAVE_LIBRADOS or if any initialization step fails.
| connection_string | Backend URI of the form "rados://<pool>/<ceph_conf_path>". |