Module ceph

Source

Re-exports§

pub use crate::write_sink::WriteSink;

Structs§

CephObject
IoCtx
Owns a ioctx handle
Pool
Helper to iterate over pool objects
Rados
Owns a rados handle
RadosVersion
The version of the librados library.
ReadOperation
A helper to create rados read operation An object read operation stores a number of operations which can be executed atomically.
WriteOperation
A helper to create rados write operation An object write operation stores a number of operations which can be executed atomically.
XAttr
A rados object extended attribute with name and value. Can be iterated over

Enums§

CephCommandTypes
CephHealth
TmapOperation

Functions§

ceph_version
Ceph version - Ceph during the make release process generates the version number along with the github hash of the release and embeds the hard coded value into ceph.py which is the the default ceph utility.
ceph_version_parse
This version call parses the ceph -s output. It does not need sudo rights like ceph_version does since it pulls from the admin socket.
connect_to_ceph
Connect to a Ceph cluster and return a connection handle rados_t
connect_to_ceph_async
Non-blocking wrapper for connect_to_ceph
destroy_rados_ioctx_async
The lifetime of IoCtx ends up after destroy_rados_ioctx, so just move it away.
disconnect_from_ceph_async
The lifetime of Rados ends up after disconnect_from_ceph, so just move it away.
rados_libversion
Get the version of librados.