MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
os_aio_slot_t Struct Reference
Collaboration diagram for os_aio_slot_t:

Public Attributes

ibool is_read
ulint pos
ibool reserved
time_t reservation_time
ulint len
byte * buf
ulint type
os_offset_t offset
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 155 of file os0file.cc.

Member Data Documentation

byte* os_aio_slot_t::buf

buffer used in i/o

Definition at line 163 of file os0file.cc.

os_file_t os_aio_slot_t::file

file where to read or write

Definition at line 166 of file os0file.cc.

ibool os_aio_slot_t::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 168 of file os0file.cc.

ibool os_aio_slot_t::is_read

TRUE if a read operation

Definition at line 156 of file os0file.cc.

ulint os_aio_slot_t::len

length of the block to read or write

Definition at line 161 of file os0file.cc.

fil_node_t* os_aio_slot_t::message1

message which is given by the

Definition at line 173 of file os0file.cc.

void* os_aio_slot_t::message2

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

Definition at line 174 of file os0file.cc.

const char* os_aio_slot_t::name

file name or path

Definition at line 167 of file os0file.cc.

os_offset_t os_aio_slot_t::offset

file offset in bytes

Definition at line 165 of file os0file.cc.

ulint os_aio_slot_t::pos

index of the slot in the aio array

Definition at line 157 of file os0file.cc.

time_t os_aio_slot_t::reservation_time

time when reserved

Definition at line 160 of file os0file.cc.

ibool os_aio_slot_t::reserved

TRUE if this slot is reserved

Definition at line 159 of file os0file.cc.

ulint os_aio_slot_t::type

OS_FILE_READ or OS_FILE_WRITE

Definition at line 164 of file os0file.cc.


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