MDEV-36182: Revert "MDEV-26674 workaround for mariadb-backup"

Remove version check on the kernel as it now corresponds to
a working RHEL9 kernel and the problem was only there in
pre-release kernels that shouldn't have been used in production.

This reverts commit 3dc0d884ec.
This commit is contained in:
Daniel Black 2025-04-16 10:09:57 +10:00
commit 51179067fc
2 changed files with 6 additions and 21 deletions

View file

@ -151,7 +151,7 @@ void close_thread_tables(THD* thd);
#ifdef HAVE_URING
/** The Linux kernel version if io_uring() is considered unsafe */
const char *io_uring_may_be_unsafe;
static const char *io_uring_may_be_unsafe;
#endif
#define INSIDE_HA_INNOBASE_CC
@ -19502,10 +19502,9 @@ static MYSQL_SYSVAR_STR(version, innodb_version_str,
#ifdef HAVE_URING
# include <sys/utsname.h>
static utsname uname_for_io_uring;
#else
static
#endif
bool innodb_use_native_aio_default()
static bool innodb_use_native_aio_default()
{
#ifdef HAVE_URING
utsname &u= uname_for_io_uring;