Drizzled Public API Documentation

os_aio_slot_struct Struct Reference

Public Attributes

ibool is_read
 
ulint pos
 
ibool reserved
 
time_t reservation_time
 
ulint len
 
byte * buf
 
ulint type
 
ulint offset
 
ulint offset_high
 
os_file_t file
 
const char * name
 
ibool io_already_done
 
fil_node_tmessage1
 
void * message2
 

Detailed Description

The asynchronous i/o array slot structure

Definition at line 162 of file os0file.cc.

Member Data Documentation

byte* os_aio_slot_struct::buf

buffer used in i/o

Definition at line 170 of file os0file.cc.

Referenced by os_aio_simulated_handle().

os_file_t os_aio_slot_struct::file

file where to read or write

Definition at line 175 of file os0file.cc.

Referenced by os_aio_simulated_handle().

ibool os_aio_slot_struct::io_already_done

used only in simulated aio: TRUE if the physical i/o already made and only the slot message needs to be passed to the caller of os_aio_simulated_handle

Definition at line 177 of file os0file.cc.

Referenced by os_aio_simulated_handle().

ibool os_aio_slot_struct::is_read

TRUE if a read operation

Definition at line 163 of file os0file.cc.

ulint os_aio_slot_struct::len

length of the block to read or write

Definition at line 168 of file os0file.cc.

Referenced by os_aio_print(), and os_aio_simulated_handle().

fil_node_t* os_aio_slot_struct::message1

message which is given by the

Definition at line 182 of file os0file.cc.

Referenced by os_aio_print(), and os_aio_simulated_handle().

void* os_aio_slot_struct::message2

the requester of an aio operation and which can be used to identify which pending aio operation was completed

Definition at line 183 of file os0file.cc.

Referenced by os_aio_print(), and os_aio_simulated_handle().

const char* os_aio_slot_struct::name

file name or path

Definition at line 176 of file os0file.cc.

Referenced by os_aio_simulated_handle().

ulint os_aio_slot_struct::offset

32 low bits of file offset in bytes

Definition at line 172 of file os0file.cc.

Referenced by os_aio_simulated_handle().

ulint os_aio_slot_struct::offset_high

32 high bits of file offset

Definition at line 174 of file os0file.cc.

Referenced by os_aio_simulated_handle().

ulint os_aio_slot_struct::pos

index of the slot in the aio array

Definition at line 164 of file os0file.cc.

Referenced by os_aio_func().

time_t os_aio_slot_struct::reservation_time

time when reserved

Definition at line 167 of file os0file.cc.

Referenced by os_aio_simulated_handle().

ibool os_aio_slot_struct::reserved

TRUE if this slot is reserved

Definition at line 166 of file os0file.cc.

Referenced by os_aio_print(), and os_aio_simulated_handle().

ulint os_aio_slot_struct::type

OS_FILE_READ or OS_FILE_WRITE

Definition at line 171 of file os0file.cc.

Referenced by os_aio_simulated_handle().


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