drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
os_aio_array_struct Struct Reference
Collaboration diagram for os_aio_array_struct:
[legend]

Public Attributes

os_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_t * slots

Detailed Description

The asynchronous i/o array structure

Definition at line 203 of file os0file.cc.

Member Data Documentation

◆ cur_seg

ulint os_aio_array_struct::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 221 of file os0file.cc.

◆ is_empty

os_event_t os_aio_array_struct::is_empty

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

Definition at line 209 of file os0file.cc.

◆ mutex

os_mutex_t os_aio_array_struct::mutex

the mutex protecting the aio array

Definition at line 204 of file os0file.cc.

◆ n_reserved

ulint os_aio_array_struct::n_reserved

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

Definition at line 225 of file os0file.cc.

◆ n_segments

ulint os_aio_array_struct::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 216 of file os0file.cc.

◆ n_slots

ulint os_aio_array_struct::n_slots

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

Definition at line 213 of file os0file.cc.

◆ not_full

os_event_t os_aio_array_struct::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 205 of file os0file.cc.

◆ slots

os_aio_slot_t* os_aio_array_struct::slots

Pointer to the slots in the array

Definition at line 228 of file os0file.cc.


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