diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-18 16:28:09 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-18 16:28:09 +0200 |
commit | e0c3b5f9a5f46fa1a29a83393a50acc74d545981 (patch) | |
tree | 8ec686a487ee3ac6f3f4cacc2b41117288ae05e6 | |
parent | 8d1098a565f06e85d8dbd9a0b4810a33e999b59c (diff) | |
download | mariadb-git-e0c3b5f9a5f46fa1a29a83393a50acc74d545981.tar.gz |
MDEV-24883 fixup: Avoid io_uring in ./mtr --rr
Until https://github.com/rr-debugger/rr/issues/2613
has been addressed, ./mtr --rr will fail to start up the
server if it has been configured with liburing.
To make the ./mtr --rr option work out of the box, we will
disable native asynchronous I/O.
Note: libaio never worked under rr, but it failed more gracefully:
the emulated io_setup() call would always return an error.
-rw-r--r-- | mysql-test/lib/My/Debugger.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/lib/My/Debugger.pm b/mysql-test/lib/My/Debugger.pm index 0854a1c4363..8003d1eebb7 100644 --- a/mysql-test/lib/My/Debugger.pm +++ b/mysql-test/lib/My/Debugger.pm @@ -74,7 +74,7 @@ my %debuggers = ( options => '-f -o {log} {exe} {args}', }, rr => { - options => '_RR_TRACE_DIR={log} rr record {exe} {args}', + options => '_RR_TRACE_DIR={log} rr record {exe} {args} --loose-skip-innodb-use-native-aio', run => 'env', pre => sub { ::mtr_error('rr requires kernel.perf_event_paranoid <= 1') |