Helper library to use spdk_bdev as the backing device for a blobstore.
More...
Helper library to use spdk_bdev as the backing device for a blobstore.
◆ spdk_bdev_create_bs_dev_ext()
Create a blobstore block device from a bdev.
- Parameters
-
bdev_name | Name of the bdev to use. |
event_cb | Called when the bdev triggers asynchronous event. |
event_ctx | Argument passed to function event_cb. |
bs_dev | Output parameter for a pointer to the blobstore block device. |
- Returns
- 0 if operation is successful, or suitable errno value otherwise.
◆ spdk_bs_bdev_claim()
Claim the bdev module for the given blobstore.
- Parameters
-
bs_dev | Blobstore block device. |
module | Bdev module to claim. |
- Returns
- 0 on success, negative errno on failure.