Fields that are used internally by the fsdev subsystem. More...
#include <fsdev_module.h>
Public Member Functions | |
TAILQ_ENTRY (spdk_fsdev_io) link | |
Member used for linking child I/Os together. | |
STAILQ_ENTRY (spdk_fsdev_io) buf_link | |
Entry to the list per_thread_cache of struct spdk_fsdev_mgmt_channel. | |
TAILQ_ENTRY (spdk_fsdev_io) ch_link | |
Entry to the list io_submitted of struct spdk_fsdev_channel. | |
Data Fields | |
struct spdk_fsdev_channel * | ch |
The fsdev I/O channel that this was handled on. | |
struct spdk_fsdev_desc * | desc |
The fsdev descriptor that was used when submitting this I/O. | |
spdk_fsdev_io_completion_cb | cb_fn |
User function that will be called when this completes. | |
void * | cb_arg |
Context that will be passed to the completion callback. | |
bool | in_submit_request |
Set to true while the fsdev module submit_request function is in progress. | |
enum spdk_fsdev_io_type | type |
IO operation. | |
uint64_t | unique |
IO unique ID. | |
void * | usr_cb_fn |
User callback. | |
void * | usr_cb_arg |
The context for the user callback. | |
int | status |
Status for the IO. | |
Fields that are used internally by the fsdev subsystem.
Fsdev modules must not read or write to these fields.
bool spdk_fsdev_io::__fsdev_io_internal_fields::in_submit_request |
Set to true while the fsdev module submit_request function is in progress.
This is used to decide whether spdk_fsdev_io_complete() can complete the I/O directly or if completion must be deferred via an event.