Expand description
Low level bindings for Ceph’s RBD interface. Please see Ceph librbd for more information. Those are the python docs but the parameters should be the same.
Structs§
Functions§
- rbd_
aio_ ⚠create_ completion - rbd_
aio_ ⚠discard - rbd_
aio_ ⚠flush - rbd_
aio_ ⚠get_ return_ value - rbd_
aio_ ⚠is_ complete - rbd_
aio_ ⚠read - rbd_
aio_ ⚠release - rbd_
aio_ ⚠wait_ for_ complete - rbd_
aio_ ⚠write - rbd_
break_ ⚠lock - Release a shared or exclusive lock that was taken by the specified client.
- rbd_
clone ⚠ - Clone a parent rbd snapshot into a COW sparse child.
- rbd_
clone2 ⚠ - Clone a parent rbd snapshot into a COW sparse child.
- rbd_
close ⚠ - rbd_
copy ⚠ - rbd_
copy2 ⚠ - rbd_
copy_ ⚠with_ progress - rbd_
copy_ ⚠with_ progress2 - rbd_
create ⚠ - rbd_
create2 ⚠ - rbd_
create3 ⚠ - create new rbd image
- rbd_
diff_ ⚠iterate - get difference between two versions of an image
- rbd_
discard ⚠ - Trim the range from the image. It will be logically filled with zeroes.
- rbd_
flatten ⚠ - rbd_
flush ⚠ - Start a flush if caching is enabled. Get a callback when the currently pending writes are on disk.
- rbd_
get_ ⚠features - rbd_
get_ ⚠old_ format - rbd_
get_ ⚠overlap - rbd_
get_ ⚠parent_ info - rbd_
get_ ⚠size - rbd_
get_ ⚠stripe_ count - rbd_
get_ ⚠stripe_ unit - rbd_
invalidate_ ⚠cache - Drop any cached data for an image
- rbd_
list ⚠ - List image names.
- rbd_
list_ ⚠children - List all images that are cloned from the image at the snapshot that is set via rbd_snap_set().
- rbd_
list_ ⚠lockers - List clients that have locked the image and information about the lock.
- rbd_
lock_ ⚠exclusive - Take an exclusive lock on the image.
- rbd_
lock_ ⚠shared - Take a shared lock on the image.
- rbd_
open ⚠ - rbd_
open_ ⚠read_ only - Open an image in read-only mode.
- rbd_
read ⚠ - rbd_
read_ ⚠iterate2 - iterate read over an image Reads each region of the image and calls the callback. If the buffer pointer passed to the callback is NULL, the given extent is defined to be zeros (a hole). Normally the granularity for the callback is the image stripe size.
- rbd_
remove ⚠ - Delete an RBD image. This may take a long time, since it does not return until every object that comprises the image has been deleted. Note that all snapshots must be deleted before the image can be removed.
- rbd_
remove_ ⚠with_ progress - rbd_
rename ⚠ - Rename an RBD image.
- rbd_
resize ⚠ - Change the size of the image.
- rbd_
resize_ ⚠with_ progress - rbd_
snap_ ⚠create - rbd_
snap_ ⚠is_ protected - Determine whether a snapshot is protected.
- rbd_
snap_ ⚠list - rbd_
snap_ ⚠list_ end - rbd_
snap_ ⚠protect - Prevent a snapshot from being deleted until it is unprotected.
- rbd_
snap_ ⚠remove - rbd_
snap_ ⚠rollback - rbd_
snap_ ⚠rollback_ with_ progress - rbd_
snap_ ⚠set - rbd_
snap_ ⚠unprotect - Allow a snaphshot to be deleted
- rbd_
stat ⚠ - Get information about the image. Currently parent pool and parent name are always -1 and ‘’.
- rbd_
unlock ⚠ - Release a shared or exclusive lock on the image.
- rbd_
version ⚠ - Get the version number of the librbd C library.
- rbd_
write ⚠