mariadb/storage/innobase/buf
Marko Mäkelä 112df06996 MDEV-15529 IMPORT TABLESPACE unnecessarily uses the doublewrite buffer
fil_space_t::atomic_write_supported: Always set this flag for
TEMPORARY TABLESPACE and during IMPORT TABLESPACE. The page
writes during these operations are by definition not crash-safe
because they are not written to the redo log.

fil_space_t::use_doublewrite(): Determine if doublewrite should
be used.

buf_dblwr_update(): Add assertions, and let the caller check whether
doublewrite buffering is desired.

buf_flush_write_block_low(): Disable the doublewrite buffer for
the temporary tablespace and for IMPORT TABLESPACE.

fil_space_set_imported(), fil_node_open_file(), fil_space_create():
Initialize or revise the space->atomic_write_supported flag.

buf_page_io_complete(), buf_flush_write_complete(): Add the parameter
dblwr, to indicate whether doublewrite was used for writes.

buf_dblwr_sync_datafiles(): Remove an unnecessary flush of
persistent tablespaces when flushing temporary tablespaces.
(Move the call to buf_dblwr_flush_buffered_writes().)
2018-03-10 11:54:34 +02:00
..
buf0buddy.cc Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
buf0buf.cc MDEV-15529 IMPORT TABLESPACE unnecessarily uses the doublewrite buffer 2018-03-10 11:54:34 +02:00
buf0checksum.cc MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-03 08:29:36 +03:00
buf0dblwr.cc MDEV-15529 IMPORT TABLESPACE unnecessarily uses the doublewrite buffer 2018-03-10 11:54:34 +02:00
buf0dump.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
buf0flu.cc MDEV-15529 IMPORT TABLESPACE unnecessarily uses the doublewrite buffer 2018-03-10 11:54:34 +02:00
buf0lru.cc Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
buf0mtflu.cc MDEV-11707: Fix incorrect memset() for structures containing 2017-02-06 15:40:17 +02:00
buf0rea.cc Adjust the instrumentation and test 2017-10-18 11:53:45 +03:00