Open CAS Framework
Open source framework of Cache Acceleration Software
Data Fields
ocf_queue_ops Struct Reference

I/O queue operations. More...

#include <ocf_queue.h>

Data Fields

void(* kick )(ocf_queue_t q)
 Kick I/O queue processing. More...
 
void(* kick_sync )(ocf_queue_t q)
 Kick I/O queue processing. More...
 
void(* stop )(ocf_queue_t q)
 Stop I/O queue. More...
 

Detailed Description

I/O queue operations.

Field Documentation

◆ kick

void(* kick) (ocf_queue_t q)

Kick I/O queue processing.

This function should inform worker, thread or any other queue processing mechanism, that there are new requests in queue to be processed. Processing requests synchronously in this function is not allowed.

Parameters
[in]qI/O queue to be kicked

◆ kick_sync

void(* kick_sync) (ocf_queue_t q)

Kick I/O queue processing.

This function should inform worker, thread or any other queue processing mechanism, that there are new requests in queue to be processed. Function kick_sync is allowed to process requests synchronously without delegating them to the worker.

Parameters
[in]qI/O queue to be kicked

◆ stop

void(* stop) (ocf_queue_t q)

Stop I/O queue.

Parameters
[in]qI/O queue beeing stopped

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