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

Public Attributes

os_ib_mutex_t mutex
os_event_t not_full
os_event_t is_empty
ulint n_slots
ulint n_segments
ulint cur_seg
ulint n_reserved
os_aio_slot_tslots

Detailed Description

The asynchronous i/o array structure

Definition at line 191 of file os0file.cc.

Member Data Documentation

ulint os_aio_array_t::cur_seg

We reserve IO requests in round robin fashion to different segments. This points to the segment that is to be used to service next IO request.

Definition at line 209 of file os0file.cc.

os_event_t os_aio_array_t::is_empty

The event which is set to the signaled state when there are no pending i/os in this array

Definition at line 198 of file os0file.cc.

os_ib_mutex_t os_aio_array_t::mutex

the mutex protecting the aio array

Definition at line 192 of file os0file.cc.

ulint os_aio_array_t::n_reserved

Number of reserved slots in the aio array outside the ibuf segment

Definition at line 214 of file os0file.cc.

ulint os_aio_array_t::n_segments

Number of segments in the aio array of pending aio requests. A thread can wait separately for any one of the segments.

Definition at line 205 of file os0file.cc.

ulint os_aio_array_t::n_slots

Total number of slots in the aio array. This must be divisible by n_threads.

Definition at line 201 of file os0file.cc.

os_event_t os_aio_array_t::not_full

The event which is set to the signaled state when there is space in the aio outside the ibuf segment

Definition at line 194 of file os0file.cc.

os_aio_slot_t* os_aio_array_t::slots

Pointer to the slots in the array

Definition at line 216 of file os0file.cc.


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