An io context encapsulates a few settings for all I/O operations
done on it:
- pool - set when the io context is created (see rados_ioctx_create())
- snapshot context for writes (see
rados_ioctx_selfmanaged_snap_set_write_ctx())
- snapshot id to read from (see rados_ioctx_snap_set_read())
- object locator for all single-object operations (see
rados_ioctx_locator_set_key())
- namespace for all single-object operations (see
rados_ioctx_set_namespace()). Set to LIBRADOS_ALL_NSPACES
before rados_nobjects_list_open() will list all objects in all
namespaces.
@warning Changing any of these settings is not thread-safe -
librados users must synchronize any of these changes on their own,
or use separate io contexts for each thread
@typedef rados_ioctx_t
An io context encapsulates a few settings for all I/O operations done on it: - pool - set when the io context is created (see rados_ioctx_create()) - snapshot context for writes (see rados_ioctx_selfmanaged_snap_set_write_ctx()) - snapshot id to read from (see rados_ioctx_snap_set_read()) - object locator for all single-object operations (see rados_ioctx_locator_set_key()) - namespace for all single-object operations (see rados_ioctx_set_namespace()). Set to LIBRADOS_ALL_NSPACES before rados_nobjects_list_open() will list all objects in all namespaces.
@warning Changing any of these settings is not thread-safe - librados users must synchronize any of these changes on their own, or use separate io contexts for each thread