Skip to content

Commit

Permalink
MDEV-24883 fixup: Avoid io_uring in ./mtr --rr
Browse files Browse the repository at this point in the history
Until rr-debugger/rr#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.
  • Loading branch information
dr-m committed Mar 18, 2021
1 parent 8d1098a commit e0c3b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/lib/My/Debugger.pm
Expand Up @@ -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')
Expand Down

0 comments on commit e0c3b5f

Please sign in to comment.