diff --git a/_doc_version.txt b/_doc_version.txt index bb55834a9..a8804896e 100644 --- a/_doc_version.txt +++ b/_doc_version.txt @@ -1 +1 @@ -bc33ed1d9aef8ee7dd4ff4944546143b2108e972 +e2916ec13731949a1e4ffefc148ac43bd7f1f11e diff --git a/doc/bdev_module.html b/doc/bdev_module.html index 98554f351..a1b89640a 100644 --- a/doc/bdev_module.html +++ b/doc/bdev_module.html @@ -139,7 +139,7 @@

Creating Bdevs

spdk_bdev_fn_table::destruct
int(* destruct)(void *ctx)
Destroy the backend block device object.
Definition: bdev_module.h:313
spdk_bdev_fn_table::get_spin_time
uint64_t(* get_spin_time)(struct spdk_io_channel *ch)
Get spin-time per I/O channel in microseconds.
Definition: bdev_module.h:352
spdk_bdev_fn_table::submit_request
void(* submit_request)(struct spdk_io_channel *ch, struct spdk_bdev_io *)
Process the IO.
Definition: bdev_module.h:316
-
spdk_bdev_io
Definition: bdev_module.h:780
+
spdk_bdev_io
Definition: bdev_module.h:783

The bdev module must implement these function callbacks.

The destruct function is called to tear down the device when the system no longer needs it. What destruct does is up to the module - it may just be freeing memory or it may be shutting down a piece of hardware.

The io_type_supported function returns whether a particular I/O type is supported. The available I/O types are:

diff --git a/doc/functions_t.html b/doc/functions_t.html index a94d7ff15..2074b6e15 100644 --- a/doc/functions_t.html +++ b/doc/functions_t.html @@ -163,6 +163,9 @@

- t -