mariadb/storage/xtradb/include
Jan Lindström 8c7ef99bb2 MDEV-7100: InnoDB error monitor might unnecessary wait log_sys mutex
Analysis: InnoDB error monitor is responsible to call every second
sync_arr_wake_threads_if_sema_free() to wake up possible hanging 
threads if they are missed in mutex_signal_object. This is not 
possible if error monitor itself is on mutex/semaphore wait. We 
should avoid all unnecessary mutex/semaphore waits on error monitor.
Currently error monitor calls function buf_flush_stat_update() 
that calls log_get_lsn() function and there we will try to get 
log_sys mutex. Better, solution for error monitor is that in 
buf_flush_stat_update() we will try to get lsn with 
mutex_enter_nowait() and if we did not get mutex do not update 
the stats.

Fix: Use log_get_lsn_nowait() function on buf_flush_stat_update()
function. If returned lsn is 0, we do not update flush stats. 
log_get_lsn_nowait() will use mutex_enter_nowait() and if
we get mutex we return a correct lsn if not we return 0.
2014-11-13 11:24:19 +02:00
..
btr0btr.h xtradb merge. Percona-Server-5.5.28-rel29.3 2013-01-16 11:13:08 +01:00
btr0btr.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
btr0cur.h MDEV-6160: InnoDB: Failing assertion: page_is_comp(next_page) == page_is_comp(page) 2014-04-28 08:30:05 +03:00
btr0cur.ic merge with XtraDB as of Percona-Server-5.5.30-rel30.1 2013-03-08 19:08:45 +01:00
btr0pcur.h Percona-Server-5.5.35-rel33.0.tar.gz 2014-01-22 15:35:42 +01:00
btr0pcur.ic Percona-Server-5.5.35-rel33.0.tar.gz 2014-01-22 15:35:42 +01:00
btr0sea.h Percona-Server-5.5.35-rel33.0.tar.gz 2014-01-22 15:35:42 +01:00
btr0sea.ic Percona-Server-5.5.34-rel32.0 merge 2013-11-19 15:43:22 +01:00
btr0types.h Percona-Server-5.5.34-rel32.0 merge 2013-11-19 15:43:22 +01:00
buf0buddy.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
buf0buddy.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
buf0buf.h Percona-Server-5.5.34-rel32.0 merge 2013-11-19 15:43:22 +01:00
buf0buf.ic Merged percona-server-5.5.38-35.2. 2014-08-01 12:54:56 +03:00
buf0flu.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
buf0flu.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
buf0lru.h Merged percona-server-5.5.38-35.2. 2014-08-01 12:54:56 +03:00
buf0lru.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
buf0rea.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
buf0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
data0data.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
data0data.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
data0type.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
data0type.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
data0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
db0err.h merge Percona-Server-5.5.32-rel31.0.tar.gz 2013-07-16 19:30:39 +02:00
dict0boot.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
dict0boot.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
dict0crea.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
dict0crea.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
dict0dict.h XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
dict0dict.ic XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
dict0load.h XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
dict0load.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
dict0mem.h XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
dict0mem.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
dict0types.h Percona-Server-5.5.35-rel33.0.tar.gz 2014-01-22 15:35:42 +01:00
dyn0dyn.h merge Percona-Server-5.5.32-rel31.0.tar.gz 2013-07-16 19:30:39 +02:00
dyn0dyn.ic merge Percona-Server-5.5.32-rel31.0.tar.gz 2013-07-16 19:30:39 +02:00
eval0eval.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
eval0eval.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
eval0proc.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
eval0proc.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
fil0fil.h MDEV-6160: InnoDB: Failing assertion: page_is_comp(next_page) == page_is_comp(page) 2014-04-28 08:30:05 +03:00
fsp0fsp.h merged with XtraDB 1.1.8-26.0 2012-06-15 14:54:23 +02:00
fsp0fsp.ic Merge XtraDB from Percona-Server-5.5.20-24.1 into MariaDB 5.5. 2012-02-15 15:37:38 +01:00
fsp0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
fut0fut.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
fut0fut.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
fut0lst.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
fut0lst.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ha0ha.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ha0ha.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ha0storage.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ha0storage.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ha_prototypes.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
handler0alter.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
hash0hash.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
hash0hash.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ibuf0ibuf.h Percona-Server-5.5.35-rel33.0.tar.gz 2014-01-22 15:35:42 +01:00
ibuf0ibuf.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ibuf0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
lock0iter.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
lock0lock.h percona-server-5.5.36-34.0 2014-03-17 17:41:54 +01:00
lock0lock.ic percona-server-5.5.36-34.0 2014-03-17 17:41:54 +01:00
lock0priv.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
lock0priv.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
lock0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
log0log.h XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
log0log.ic MDEV-7100: InnoDB error monitor might unnecessary wait log_sys mutex 2014-11-13 11:24:19 +02:00
log0online.h merge Percona-Server-5.5.32-rel31.0.tar.gz 2013-07-16 19:30:39 +02:00
log0recv.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
log0recv.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mach0data.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mach0data.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mem0dbg.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mem0dbg.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mem0mem.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mem0mem.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mem0pool.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mem0pool.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mtr0log.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mtr0log.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
mtr0mtr.h merge Percona-Server-5.5.32-rel31.0.tar.gz 2013-07-16 19:30:39 +02:00
mtr0mtr.ic Merge with XtraDB as of Percona-Server-5.5.30-rel30.2 2013-05-08 10:12:21 +02:00
mtr0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
os0file.h MDEV-6318: MariaDB with XtraDB uses times more of IO events 2014-07-04 08:16:45 +03:00
os0file.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
os0proc.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
os0proc.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
os0stacktrace.h Added test case for new system variable innodb_use_stacktrace and made sure that it can be used only on startup. Fixed compiler problems on solaris and other platforms that do not contain necessary headers and functions. 2013-11-15 15:24:42 +02:00
os0sync.h fix compilation on windows - wrong include file 2014-09-08 17:10:48 +02:00
os0sync.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
os0thread.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
os0thread.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
page0cur.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
page0cur.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
page0page.h merged with XtraDB 1.1.8-26.0 2012-06-15 14:54:23 +02:00
page0page.ic merged with XtraDB 1.1.8-26.0 2012-06-15 14:54:23 +02:00
page0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
page0zip.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
page0zip.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0grm.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0opt.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0opt.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0pars.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0pars.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0sym.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0sym.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
pars0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
que0que.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
que0que.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
que0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
read0read.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
read0read.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
read0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
rem0cmp.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
rem0cmp.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
rem0rec.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
rem0rec.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
rem0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0ext.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0ext.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0ins.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0ins.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0merge.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0mysql.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0mysql.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0purge.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0purge.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0row.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0row.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0sel.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0sel.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0uins.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0uins.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0umod.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0umod.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0undo.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0undo.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0upd.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0upd.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0vers.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
row0vers.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
srv0srv.h MDEV-6348: mariadb crash signal 11 2014-07-08 17:21:13 +03:00
srv0srv.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
srv0start.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
sync0arr.h MDEV-7017: Add function to print semaphore waits 2014-11-03 15:43:44 +02:00
sync0arr.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
sync0rw.h Backport from 10.0: 2014-08-29 16:14:11 +04:00
sync0rw.ic MDEV-6450 - MariaDB crash on Power8 when built with advance tool chain 2014-08-19 19:28:35 +03:00
sync0sync.h MDEV-7017: Add function to print semaphore waits 2014-11-03 15:43:44 +02:00
sync0sync.ic Backport from 10.0: 2014-08-29 16:02:46 +04:00
sync0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0i_s.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0purge.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0purge.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0rec.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0rec.ic merged with XtraDB 1.1.8-26.0 2012-06-15 14:54:23 +02:00
trx0roll.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0roll.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0rseg.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0rseg.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0sys.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0sys.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0trx.h Percona-Server-5.5.34-rel32.0 merge 2013-11-19 15:43:22 +01:00
trx0trx.ic Percona-Server-5.5.34-rel32.0 merge 2013-11-19 15:43:22 +01:00
trx0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0undo.h merged with XtraDB 1.1.8-26.0 2012-06-15 14:54:23 +02:00
trx0undo.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
trx0xa.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
univ.i XtraDB 5.5.40-36.1 2014-10-08 00:44:37 +02:00
usr0sess.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
usr0sess.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
usr0types.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0bh.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0bh.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0byte.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0byte.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0dbg.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0list.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0list.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0lst.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0mem.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0mem.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0rbt.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0rnd.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0rnd.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0sort.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0ut.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0ut.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0vec.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0vec.ic Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00
ut0wqueue.h Percona-Server-5.5.33-rel31.1.tar.gz 2013-09-07 13:49:15 +02:00