mariadb/storage/innobase
Sachin Agarwal 06ec56f579 Bug #27850600 INNODB ASYNC IO ERROR HANDLING IN IO_EVENT
Problem:
io_getevents() - read asynchronous I/O events from the completion
queue. For each IO event, the res field in io_event tells whether IO
event is succeeded or not. To see if the IO actually succeeded we
always need to check event.res (negative=error,
positive=bytesread/written).
LinuxAIOHandler::collect() doesn't check event.res value for each event.
which leads to incorrect value in n_bytes for IO context (or IO Slot).

Fix:
Added a check for event.res negative value.

RB: 20871
Reviewed by : annamalai.gurusami@oracle.com
2019-04-26 17:40:20 +03:00
..
btr MDEV-19231 make DB_SUCCESS equal to 0 2019-04-25 16:29:55 +03:00
buf Remove IBUF_COUNT_DEBUG 2019-04-19 12:44:46 +03:00
data Merge 10.1 into 10.2 2019-04-03 10:32:21 +03:00
dict Merge 10.1 into 10.2 2019-04-25 09:04:09 +03:00
eval MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL 2017-03-17 12:42:07 +02:00
fil MDEV-19231 make DB_SUCCESS equal to 0 2019-04-25 16:29:55 +03:00
fsp MDEV-19212: Replace macros with type-safe inline functions 2019-04-08 21:33:49 +03:00
fts Merge 10.1 into 10.2 2019-04-02 09:14:15 +03:00
fut MDEV-12270 Port MySQL 8.0 Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC 2017-03-17 12:48:50 +02:00
gis Update InnoDB urls 2018-12-19 00:07:33 +04:00
ha Remove many redundant #include from InnoDB 2018-11-19 11:42:14 +02:00
handler innobase_col_check_fk(): Remove copying 2019-04-26 17:40:19 +03:00
ibuf Remove IBUF_COUNT_DEBUG 2019-04-19 12:44:46 +03:00
include Remove roll_node_t::partial 2019-04-26 17:40:20 +03:00
lock lock_rec_convert_impl_to_expl_for_trx(): Remove unused parameter 2019-04-26 17:40:20 +03:00
log MDEV-12699 Improve crash recovery of corrupted data pages 2019-04-17 13:58:41 +03:00
mach Fix Bug#24707869 GCC 5 AND 6 MISCOMPILE MACH_PARSE_COMPRESSED 2017-04-26 23:03:29 +03:00
mem Remove many redundant #include from InnoDB 2018-11-19 11:42:14 +02:00
mtr Remove many redundant #include from InnoDB 2018-11-19 11:42:14 +02:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os Bug #27850600 INNODB ASYNC IO ERROR HANDLING IN IO_EVENT 2019-04-26 17:40:20 +03:00
page MDEV-12699 preparation: Initialize the entire page on MLOG_ZIP_PAGE_COMPRESS 2019-04-06 21:25:43 +03:00
pars Fix integer type mismatch 2019-04-02 13:46:36 +03:00
que MDEV-19231 make DB_SUCCESS equal to 0 2019-04-25 16:29:55 +03:00
read MDEV-15772 Potential list overrun during XA recovery 2019-04-24 11:46:14 +03:00
rem Merge 10.1 into 10.2 2019-04-03 10:32:21 +03:00
row Merge 10.1 into 10.2 2019-04-25 09:04:09 +03:00
srv Implement --debug=d,ib_log_checkpoint_avoid 2019-04-25 17:26:23 +03:00
sync Remove some unnecessary InnoDB #include 2018-11-29 12:53:44 +02:00
trx Remove roll_node_t::partial 2019-04-26 17:40:20 +03:00
ut Add appropriate #ifdef around a declaration 2019-03-21 09:30:03 +02:00
bzip2.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
CMakeLists.txt Merge 10.1 into 10.2 2019-03-27 12:26:11 +02:00
compile-innodb
COPYING.Google
COPYING.Percona
innodb.cmake Merge 10.1 into 10.2 2019-03-27 12:26:11 +02:00
lz4.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzma.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzo.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
plugin_exports
snappy.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00