Loading...
Searching...
No Matches
spdk_bs_opts Struct Reference
Collaboration diagram for spdk_bs_opts:

Data Fields

uint32_t cluster_sz
 Size of cluster in bytes.
 
uint32_t num_md_pages
 Count of the number of pages reserved for metadata.
 
uint32_t max_md_ops
 Maximum simultaneous metadata operations.
 
uint32_t max_channel_ops
 Maximum simultaneous operations per channel.
 
enum bs_clear_method clear_method
 Clear method.
 
struct spdk_bs_type bstype
 Blobstore type.
 
uint8_t reserved36 [4]
 
spdk_blob_op_with_handle_complete iter_cb_fn
 Callback function to invoke for each blob.
 
void * iter_cb_arg
 Argument passed to iter_cb_fn for each blob.
 
size_t opts_size
 The size of spdk_bs_opts according to the caller of this library is used for ABI compatibility.
 
uint64_t force_recover
 Force recovery during import.
 
spdk_bs_esnap_dev_create esnap_bs_dev_create
 External snapshot creation callback to register with the blobstore.
 
void * esnap_ctx
 Context to pass with esnap_bs_dev_create.
 

Field Documentation

◆ cluster_sz

uint32_t spdk_bs_opts::cluster_sz

Size of cluster in bytes.

Must be multiple of 4KiB page size.

◆ force_recover

uint64_t spdk_bs_opts::force_recover

Force recovery during import.

This is a uint64_t for padding reasons, treated as a bool.

◆ opts_size

size_t spdk_bs_opts::opts_size

The size of spdk_bs_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. After that, new added fields should be put in the end of the struct.


The documentation for this struct was generated from the following file: