MySQL 8.0.39
Source Code Documentation
|
Generic AIO Handler methods. More...
Static Public Member Functions | |
static dberr_t | post_io_processing (Slot *slot) |
Do any post processing after a read/write. More... | |
static dberr_t | io_complete (const Slot *slot) |
Decompress after a read and punch a hole in the file if it was a write. More... | |
Static Private Member Functions | |
static bool | is_encrypted_page (const Slot *slot) |
Check whether the page was encrypted. More... | |
static bool | is_compressed_page (const Slot *slot) |
Check whether the page was compressed. More... | |
static ulint | compressed_page_size (const Slot *slot) |
Get the compressed page size. More... | |
static bool | can_decompress (const Slot *slot) |
Check if the page contents can be decompressed. More... | |
static dberr_t | check_read (Slot *slot, ulint n_bytes) |
Check if we need to read some more data. More... | |
Generic AIO Handler methods.
Currently handles IO post processing.
|
inlinestaticprivate |
Check if the page contents can be decompressed.
[in] | slot | The slot that contains the IO request |
Check if we need to read some more data.
[in] | slot | The slot that contains the IO request |
[in] | n_bytes | Total bytes read so far |
Get the compressed page size.
[in] | slot | The slot that contains the IO request |
Decompress after a read and punch a hole in the file if it was a write.
|
inlinestaticprivate |
Check whether the page was compressed.
[in] | slot | The slot that contains the IO request |
|
inlinestaticprivate |
Check whether the page was encrypted.
[in] | slot | The slot that contains the IO request |
Do any post processing after a read/write.