mariadb/extra/mariabackup
Marko Mäkelä 783625d78f MDEV-24883 add io_uring support for tpool
liburing is a new optional dependency (WITH_URING=auto|yes|no)
that replaces libaio when it is available.

aio_uring: class which wraps io_uring stuff

aio_uring::bind()/unbind(): optional optimization

aio_uring::submit_io(): mutex prevents data race. liburing calls are
thread-unsafe. But if you look into it's implementation you'll see
atomic operations. They're used for synchronization between kernel and
user-space only. That's why our own synchronization is still needed.

For systemd, we add LimitMEMLOCK=524288 (ulimit -l 524288)
because the io_uring_setup system call that is invoked
by io_uring_queue_init() requests locked memory. The value
was found empirically; with 262144, we would occasionally
fail to enable io_uring when using the maximum values of
innodb_read_io_threads=64 and innodb_write_io_threads=64.

aio_uring::thread_routine(): Tolerate -EINTR return from
io_uring_wait_cqe(), because it may occur on shutdown
on Ubuntu 20.10 (Groovy Gorilla).

This was mostly implemented by Eugene Kosov. Systemd integration
and improved startup/shutdown error handling by Marko Mäkelä.
2021-03-15 11:30:17 +02:00
..
quicklz
backup_copy.cc MDEV-21452: Replace ib_mutex_t with mysql_mutex_t 2020-12-15 17:56:18 +02:00
backup_copy.h MDEV-22929 MariaBackup option to report and/or continue when corruption is encountered 2020-12-01 08:08:57 +03:00
backup_debug.h MDEV-22929 MariaBackup option to report and/or continue when corruption is encountered 2020-12-01 08:08:57 +03:00
backup_mysql.cc MDEV-21452: Replace all direct use of os_event_t 2020-12-15 17:56:17 +02:00
backup_mysql.h MDEV-18438 Don't stream xtrabackup_info of extra-lsndir 2019-09-19 17:47:54 +03:00
backup_wsrep.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
changed_page_bitmap.cc Merge 10.2 into 10.3 2019-11-06 13:14:31 +02:00
changed_page_bitmap.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
CMakeLists.txt MDEV-23043 Refactor Windows service handling 2020-07-04 18:24:40 +02:00
common.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
datasink.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
datasink.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_archive.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ds_archive.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_buffer.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ds_buffer.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_compress.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ds_compress.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_local.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ds_local.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_stdout.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ds_stdout.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_tmpfile.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ds_tmpfile.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ds_xbstream.cc perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ds_xbstream.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
encryption_plugin.cc Merge 10.2 into 10.3 2020-12-01 14:55:46 +02:00
encryption_plugin.h
fil_cur.cc MDEV-21452: Replace ib_mutex_t with mysql_mutex_t 2020-12-15 17:56:18 +02:00
fil_cur.h Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
innobackupex.cc Added 'const' to arguments in get_one_option and find_typeset() 2021-02-08 12:16:29 +02:00
innobackupex.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
read_filt.cc Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
read_filt.h Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
write_filt.cc Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
write_filt.h MDEV-22929 MariaBackup option to report and/or continue when corruption is encountered 2020-12-01 08:08:57 +03:00
wsrep.cc Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
xb_regex.h MDEV-14024 PCRE2. 2019-12-21 10:34:02 +01:00
xbcloud.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
xbstream.cc Added 'const' to arguments in get_one_option and find_typeset() 2021-02-08 12:16:29 +02:00
xbstream.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
xbstream_read.cc MDEV-22641: Provide SIMD optimized wrapper for zlib crc32() (#1558) 2020-06-01 11:34:06 +03:00
xbstream_write.cc MDEV-22641: Provide SIMD optimized wrapper for zlib crc32() (#1558) 2020-06-01 11:34:06 +03:00
xtrabackup.cc MDEV-24883 add io_uring support for tpool 2021-03-15 11:30:17 +02:00
xtrabackup.h Added 'const' to arguments in get_one_option and find_typeset() 2021-02-08 12:16:29 +02:00