···521521 Uring.exit uring;
522522 fallback (`Msg "Linux >= 5.15 is required for io_uring support")
523523 ) else (
524524- statx_works := Uring.op_supported probe Uring.Op.msg_ring;
524524+ (* The reason for an if here is to make sure we only set it once, when
525525+ the first domain is starting. This is just to avoid a tsan warning. *)
526526+ if not !statx_works && Uring.op_supported probe Uring.Op.msg_ring then
527527+ statx_works := true;
525528 match
526529 let mem =
527530 let fixed_buf_len = block_size * n_blocks in