Data Fields | |
uint64_t | num_clusters |
bool | thin_provision |
enum blob_clear_method | clear_method |
struct spdk_blob_xattr_opts | xattrs |
bool | use_extent_table |
Enable separate extent pages in metadata. | |
size_t | opts_size |
The size of spdk_blob_opts according to the caller of this library is used for ABI compatibility. | |
const void * | esnap_id |
If set, create an esnap clone. | |
uint64_t | esnap_id_len |
The size of data referenced by esnap_id, in bytes. | |
const void* spdk_blob_opts::esnap_id |
If set, create an esnap clone.
The memory referenced by esnap_id will be copied into the blob's metadata and can be retrieved with spdk_blob_get_esnap_id(), typically from an esnap_bs_dev_create() callback. See struct_bs_opts.
When esnap_id is specified, num_clusters should be specified. If it is not, the blob will have no capacity until spdk_blob_resize() is called.
size_t spdk_blob_opts::opts_size |
The size of spdk_blob_opts according to the caller of this library is used for ABI compatibility.
The library uses this field to know how many fields in this structure are valid. And the library will populate any remaining fields with default values. New added fields should be put at the end of the struct.