diff --git a/ircd/fs_aio.cc b/ircd/fs_aio.cc index c935a5950..c90176bf5 100644 --- a/ircd/fs_aio.cc +++ b/ircd/fs_aio.cc @@ -38,7 +38,8 @@ ircd::fs::aio::support decltype(ircd::fs::aio::support_fsync) ircd::fs::aio::support_fsync { - false //TODO: get this info + info::kversion[0] >= 4 && + info::kversion[1] >= 18 }; /// True if IOCB_CMD_FDSYNC is supported by AIO. If this is false then @@ -46,7 +47,8 @@ ircd::fs::aio::support_fsync decltype(ircd::fs::aio::support_fdsync) ircd::fs::aio::support_fdsync { - false //TODO: get this info + info::kversion[0] >= 4 && + info::kversion[1] >= 18 }; decltype(ircd::fs::aio::MAX_EVENTS)