Structure to register a callback when an spdk_bdev_io becomes available. More...
#include <bdev.h>
Public Member Functions | |
| TAILQ_ENTRY (spdk_bdev_io_wait_entry) link | |
Data Fields | |
| struct spdk_bdev * | bdev |
| spdk_bdev_io_wait_cb | cb_fn |
| void * | cb_arg |
| bool | dep_unblock |
| When true, this I/O is critical to unblock other I/Os that holding resource and depend on the completion of this IO. | |
| uint8_t | pad [7] |
Structure to register a callback when an spdk_bdev_io becomes available.
| bool spdk_bdev_io_wait_entry::dep_unblock |
When true, this I/O is critical to unblock other I/Os that holding resource and depend on the completion of this IO.
If resource allocation fails such as ENOMEM, this entry should be queued at the head to avoid deadlock.