summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/os0file.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/os0file.ic')
-rw-r--r--storage/xtradb/include/os0file.ic6
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/xtradb/include/os0file.ic b/storage/xtradb/include/os0file.ic
index b25f1577362..b284d7ea9ac 100644
--- a/storage/xtradb/include/os0file.ic
+++ b/storage/xtradb/include/os0file.ic
@@ -202,6 +202,7 @@ ibool
pfs_os_aio_func(
/*============*/
ulint type, /*!< in: OS_FILE_READ or OS_FILE_WRITE */
+ ulint is_log, /*!< in: 1 is OS_FILE_LOG or 0 */
ulint mode, /*!< in: OS_AIO_NORMAL etc. I/O mode */
const char* name, /*!< in: name of the file or path as a
null-terminated string */
@@ -210,6 +211,7 @@ pfs_os_aio_func(
to write */
os_offset_t offset, /*!< in: file offset where to read or write */
ulint n, /*!< in: number of bytes to read or write */
+ ulint page_size, /*!< in: page size in bytes */
fil_node_t* message1,/*!< in: message for the aio handler
(can be used to identify a completed
aio operation); ignored if mode is
@@ -239,8 +241,8 @@ pfs_os_aio_func(
: PSI_FILE_READ,
src_file, src_line);
- result = os_aio_func(type, mode, name, file, buf, offset,
- n, message1, message2, space_id, trx,
+ result = os_aio_func(type, is_log, mode, name, file, buf, offset,
+ n, page_size, message1, message2, space_id, trx,
write_size);
register_pfs_file_io_end(locker, n);