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
btr0btr.ic
btr0cur.h
btr0cur.ic
btr0pcur.h
btr0pcur.ic
btr0sea.h
btr0sea.ic
btr0types.h
buf0buddy.h
buf0buddy.ic
buf0buf.h
buf0buf.ic Merged percona-server-5.5.38-35.2. 2014-08-01 12:54:56 +03:00
buf0flu.h
buf0flu.ic
buf0lru.h Merged percona-server-5.5.38-35.2. 2014-08-01 12:54:56 +03:00
buf0lru.ic
buf0rea.h
buf0types.h
data0data.h
data0data.ic
data0type.h
data0type.ic
data0types.h
db0err.h
dict0boot.h
dict0boot.ic
dict0crea.h
dict0crea.ic
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
dict0mem.h XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
dict0mem.ic
dict0types.h
dyn0dyn.h
dyn0dyn.ic
eval0eval.h
eval0eval.ic
eval0proc.h
eval0proc.ic
fil0fil.h
fsp0fsp.h
fsp0fsp.ic
fsp0types.h
fut0fut.h
fut0fut.ic
fut0lst.h
fut0lst.ic
ha0ha.h
ha0ha.ic
ha0storage.h
ha0storage.ic
ha_prototypes.h
handler0alter.h
hash0hash.h
hash0hash.ic
ibuf0ibuf.h
ibuf0ibuf.ic
ibuf0types.h
lock0iter.h
lock0lock.h
lock0lock.ic
lock0priv.h
lock0priv.ic
lock0types.h
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
log0recv.h
log0recv.ic
mach0data.h
mach0data.ic
mem0dbg.h
mem0dbg.ic
mem0mem.h
mem0mem.ic
mem0pool.h
mem0pool.ic
mtr0log.h
mtr0log.ic
mtr0mtr.h
mtr0mtr.ic
mtr0types.h
os0file.h MDEV-6318: MariaDB with XtraDB uses times more of IO events 2014-07-04 08:16:45 +03:00
os0file.ic
os0proc.h
os0proc.ic
os0stacktrace.h
os0sync.h fix compilation on windows - wrong include file 2014-09-08 17:10:48 +02:00
os0sync.ic
os0thread.h
os0thread.ic
page0cur.h
page0cur.ic
page0page.h
page0page.ic
page0types.h
page0zip.h
page0zip.ic
pars0grm.h
pars0opt.h
pars0opt.ic
pars0pars.h
pars0pars.ic
pars0sym.h
pars0sym.ic
pars0types.h
que0que.h
que0que.ic
que0types.h
read0read.h
read0read.ic
read0types.h
rem0cmp.h
rem0cmp.ic
rem0rec.h
rem0rec.ic
rem0types.h
row0ext.h
row0ext.ic
row0ins.h
row0ins.ic
row0merge.h
row0mysql.h
row0mysql.ic
row0purge.h
row0purge.ic
row0row.h
row0row.ic
row0sel.h
row0sel.ic
row0types.h
row0uins.h
row0uins.ic
row0umod.h
row0umod.ic
row0undo.h
row0undo.ic
row0upd.h
row0upd.ic
row0vers.h
row0vers.ic
srv0srv.h MDEV-6348: mariadb crash signal 11 2014-07-08 17:21:13 +03:00
srv0srv.ic
srv0start.h
sync0arr.h MDEV-7017: Add function to print semaphore waits 2014-11-03 15:43:44 +02:00
sync0arr.ic
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
trx0i_s.h
trx0purge.h
trx0purge.ic
trx0rec.h
trx0rec.ic
trx0roll.h
trx0roll.ic
trx0rseg.h
trx0rseg.ic
trx0sys.h
trx0sys.ic
trx0trx.h
trx0trx.ic
trx0types.h
trx0undo.h
trx0undo.ic
trx0xa.h
univ.i XtraDB 5.5.40-36.1 2014-10-08 00:44:37 +02:00
usr0sess.h
usr0sess.ic
usr0types.h
ut0bh.h
ut0bh.ic
ut0byte.h
ut0byte.ic
ut0dbg.h
ut0list.h
ut0list.ic
ut0lst.h
ut0mem.h
ut0mem.ic
ut0rbt.h
ut0rnd.h
ut0rnd.ic
ut0sort.h
ut0ut.h
ut0ut.ic
ut0vec.h
ut0vec.ic
ut0wqueue.h