spdk_bdev_io_wait_entry Struct Reference

Structure to register a callback when an spdk_bdev_io becomes available. More...

#include <bdev.h>

Collaboration diagram for spdk_bdev_io_wait_entry:
[legend]

Public Member Functions

 TAILQ_ENTRY (spdk_bdev_io_wait_entry) link
 

Data Fields

struct spdk_bdevbdev
 
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]
 

Detailed Description

Structure to register a callback when an spdk_bdev_io becomes available.

Field Documentation

◆ dep_unblock

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.


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