Commit e0c3b5f9 authored by Marko Mäkelä's avatar Marko Mäkelä

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.
parent 8d1098a5
...@@ -74,7 +74,7 @@ my %debuggers = ( ...@@ -74,7 +74,7 @@ my %debuggers = (
options => '-f -o {log} {exe} {args}', options => '-f -o {log} {exe} {args}',
}, },
rr => { 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', run => 'env',
pre => sub { pre => sub {
::mtr_error('rr requires kernel.perf_event_paranoid <= 1') ::mtr_error('rr requires kernel.perf_event_paranoid <= 1')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment