mariadb/storage/innobase/include
Jan Lindström 90c52e5291 MDEV-12615: InnoDB page compression method snappy mostly does not compress pages
Snappy compression method require that output buffer
used for compression is bigger than input buffer.
Similarly lzo require additional work memory buffer.
Increase the allocated buffer accordingly.

buf_tmp_buffer_t: removed unnecessary lzo_mem, crypt_buf_free and
comp_buf_free.

buf_pool_reserve_tmp_slot: use alligned_alloc and if snappy
available allocate size based on snappy_max_compressed_length and
if lzo is available increase buffer by LZO1X_1_15_MEM_COMPRESS.

fil_compress_page: Remove unneeded lzo mem (we use same buffer)
and if output buffer is not yet allocated allocate based similarly
as above.

Decompression does not require additional work area.

    Modify test to use same test as other compression method tests.
2017-05-20 21:51:34 +03:00
..
api0api.h 5.6.31 2016-06-21 14:21:03 +02:00
api0misc.h
btr0btr.h MDEV-10886: encryption.innodb-bad-key-change fails (crashes) in buildbot 2016-09-27 07:54:27 +03:00
btr0btr.ic MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
btr0cur.h Merge 10.0 into 10.1 2017-05-19 12:29:37 +03:00
btr0cur.ic
btr0defragment.h
btr0pcur.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
btr0pcur.ic
btr0scrub.h
btr0sea.h 5.6.31 2016-06-21 14:21:03 +02:00
btr0sea.ic
btr0types.h 5.6.31 2016-06-21 14:21:03 +02:00
buf0buddy.h 5.6.31 2016-06-21 14:21:03 +02:00
buf0buddy.ic 5.6.31 2016-06-21 14:21:03 +02:00
buf0buf.h MDEV-12615: InnoDB page compression method snappy mostly does not compress pages 2017-05-20 21:51:34 +03:00
buf0buf.ic Output more information when assertion 2016-06-28 17:27:47 +03:00
buf0checksum.h
buf0dblwr.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
buf0dump.h
buf0flu.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
buf0flu.ic
buf0lru.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
buf0lru.ic
buf0mtflu.h
buf0rea.h MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
buf0types.h
data0data.h 5.6.31 2016-06-21 14:21:03 +02:00
data0data.ic 5.6.31 2016-06-21 14:21:03 +02:00
data0type.h
data0type.ic Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
data0types.h
db0err.h MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
dict0boot.h 5.6.31 2016-06-21 14:21:03 +02:00
dict0boot.ic
dict0crea.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
dict0crea.ic 5.6.31 2016-06-21 14:21:03 +02:00
dict0dict.h MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
dict0dict.ic MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
dict0load.h 5.6.31 2016-06-21 14:21:03 +02:00
dict0load.ic
dict0mem.h MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
dict0mem.ic
dict0pagecompress.h MDEV-11623 MariaDB 10.1 fails to start datadir created with 2017-01-15 19:05:50 +02:00
dict0pagecompress.ic MDEV-11623 MariaDB 10.1 fails to start datadir created with 2017-01-15 19:05:50 +02:00
dict0priv.h
dict0priv.ic
dict0stats.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
dict0stats.ic
dict0stats_bg.h Merge 10.0 into 10.1 2017-02-20 14:02:40 +02:00
dict0stats_bg.ic
dict0types.h
dyn0dyn.h 5.6.31 2016-06-21 14:21:03 +02:00
dyn0dyn.ic Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
eval0eval.h
eval0eval.ic
eval0proc.h
eval0proc.ic
fil0crypt.h MDEV-12253: Buffer pool blocks are accessed after they have been freed 2017-04-26 15:19:16 +03:00
fil0crypt.ic MDEV-11738: Mariadb uses 100% of several of my 8 cpus doing nothing 2017-03-14 16:23:10 +02:00
fil0fil.h Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
fil0fil.ic Fix a compilation error 2017-04-21 18:29:50 +03:00
fil0pagecompress.h MDEV-12615: InnoDB page compression method snappy mostly does not compress pages 2017-05-20 21:51:34 +03:00
fsp0fsp.h MDEV-11738: Mariadb uses 100% of several of my 8 cpus doing nothing 2017-03-14 16:23:10 +02:00
fsp0fsp.ic MDEV-11623 MariaDB 10.1 fails to start datadir created with 2017-01-15 19:05:50 +02:00
fsp0pagecompress.h MDEV-11623 MariaDB 10.1 fails to start datadir created with 2017-01-15 19:05:50 +02:00
fsp0pagecompress.ic MDEV-12545 Reduce the amount of fil_space_t lookups 2017-04-21 17:47:23 +03:00
fsp0types.h Merge 10.0 into 10.1 2017-02-20 14:02:40 +02:00
fts0ast.h MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
fts0blex.h
fts0fts.h MDEV-11233 CREATE FULLTEXT INDEX with a token longer than 127 bytes 2017-01-27 10:19:39 +02:00
fts0opt.h
fts0pars.h
fts0priv.h 5.6.31 2016-06-21 14:21:03 +02:00
fts0priv.ic 5.6.31 2016-06-21 14:21:03 +02:00
fts0tlex.h
fts0types.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
fts0types.ic
fts0vlc.ic
fut0fut.h
fut0fut.ic
fut0lst.h Part 1 of MDEV-8139 Fix scrubbing tests 2017-01-04 18:21:42 +02:00
fut0lst.ic
ha0ha.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
ha0ha.ic
ha0storage.h
ha0storage.ic
ha_prototypes.h Merge 10.0 into 10.1 2017-05-19 12:29:37 +03:00
handler0alter.h 5.6.31 2016-06-21 14:21:03 +02:00
hash0hash.h
hash0hash.ic
ibuf0ibuf.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
ibuf0ibuf.ic
ibuf0types.h
lock0iter.h
lock0lock.h Merge 10.0 into 10.1 2017-02-20 14:02:40 +02:00
lock0lock.ic
lock0priv.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
lock0priv.ic
lock0types.h
log0crypt.h
log0log.h Merge 10.0 into 10.1 2017-02-20 14:02:40 +02:00
log0log.ic
log0recv.h Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
log0recv.ic
mach0data.h 5.6.31 2016-06-21 14:21:03 +02:00
mach0data.ic Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
mem0dbg.h
mem0dbg.ic
mem0mem.h 5.6.31 2016-06-21 14:21:03 +02:00
mem0mem.ic 5.6.31 2016-06-21 14:21:03 +02:00
mem0pool.h
mem0pool.ic
mtr0log.h
mtr0log.ic
mtr0mtr.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
mtr0mtr.ic Fix gcc 6.3.x compiler warnings. 2017-02-16 12:02:31 +02:00
mtr0types.h
os0file.h Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
os0file.ic Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
os0once.h
os0proc.h
os0proc.ic
os0sync.h Fix the Solaris compilation after MDEV-12674 2017-05-15 10:26:42 +03:00
os0sync.ic
os0thread.h 5.6.35 2017-01-07 14:24:42 +02:00
os0thread.ic
page0cur.h 5.6.31 2016-06-21 14:21:03 +02:00
page0cur.ic
page0page.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
page0page.ic Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
page0types.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
page0zip.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
page0zip.ic Fix an incorrect debug assertion 2017-05-17 08:00:29 +03:00
pars0grm.h
pars0opt.h
pars0opt.ic
pars0pars.h 5.6.31 2016-06-21 14:21:03 +02:00
pars0pars.ic
pars0sym.h
pars0sym.ic
pars0types.h
que0que.h
que0que.ic
que0types.h
read0read.h 5.6.31 2016-06-21 14:21:03 +02:00
read0read.ic
read0types.h
rem0cmp.h 5.6.31 2016-06-21 14:21:03 +02:00
rem0cmp.ic
rem0rec.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
rem0rec.ic Fix gcc 6.3.x compiler warnings. 2017-02-16 12:02:31 +02:00
rem0types.h
row0ext.h
row0ext.ic
row0ftsort.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
row0import.h 5.6.31 2016-06-21 14:21:03 +02:00
row0import.ic
row0ins.h 5.6.31 2016-06-21 14:21:03 +02:00
row0ins.ic
row0log.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
row0log.ic
row0merge.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
row0mysql.h 5.6.36 2017-05-15 17:17:16 +03:00
row0mysql.ic
row0purge.h 5.6.31 2016-06-21 14:21:03 +02:00
row0purge.ic
row0quiesce.h 5.6.31 2016-06-21 14:21:03 +02:00
row0quiesce.ic
row0row.h 5.6.31 2016-06-21 14:21:03 +02:00
row0row.ic
row0sel.h 5.6.31 2016-06-21 14:21:03 +02:00
row0sel.ic
row0types.h
row0uins.h 5.6.31 2016-06-21 14:21:03 +02:00
row0uins.ic
row0umod.h 5.6.31 2016-06-21 14:21:03 +02:00
row0umod.ic
row0undo.h
row0undo.ic
row0upd.h 5.6.31 2016-06-21 14:21:03 +02:00
row0upd.ic
row0vers.h 5.6.31 2016-06-21 14:21:03 +02:00
row0vers.ic
srv0conc.h
srv0mon.h Merge 10.0 into 10.1 2017-04-21 12:46:12 +03:00
srv0mon.ic
srv0srv.h Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
srv0srv.ic
srv0start.h Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
sync0arr.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
sync0arr.ic
sync0rw.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
sync0rw.ic Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
sync0sync.h MDEV-11520 Extending an InnoDB data file unnecessarily allocates 2017-02-21 16:45:03 +02:00
sync0sync.ic Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
sync0types.h
trx0i_s.h
trx0purge.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
trx0purge.ic
trx0rec.h Refactor trx_undo_report_row_operation() 2017-05-18 09:06:52 +03:00
trx0rec.ic
trx0roll.h 5.6.31 2016-06-21 14:21:03 +02:00
trx0roll.ic
trx0rseg.h
trx0rseg.ic
trx0sys.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
trx0sys.ic
trx0trx.h MW-28, codership/mysql-wsrep#28 Fix sync_thread_levels debug assert 2017-04-06 15:41:54 +05:30
trx0trx.ic MDEV-11236 Failing assertion: state == TRX_STATE_NOT_STARTED 2016-12-02 16:25:47 +02:00
trx0types.h
trx0undo.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
trx0undo.ic
trx0xa.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
univ.i Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
usr0sess.h
usr0sess.ic
usr0types.h
ut0bh.h
ut0bh.ic
ut0byte.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0byte.ic
ut0counter.h MDEV-12674 Innodb_row_lock_current_waits has overflow 2017-05-12 12:24:53 +03:00
ut0crc32.h
ut0dbg.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0list.h
ut0list.ic
ut0lst.h Fix gcc 6.3.x compiler warnings. 2017-02-16 12:02:31 +02:00
ut0mem.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0mem.ic
ut0rbt.h
ut0rnd.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0rnd.ic Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
ut0sort.h
ut0timer.h
ut0timer.ic
ut0ut.h Remove warning: unused variable 'volatile_var' [-Wunused-variable] 2017-03-03 13:00:41 +04:00
ut0ut.ic
ut0vec.h
ut0vec.ic
ut0wqueue.h Merge 10.0 into 10.1 2017-02-20 14:02:40 +02:00