0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::fs::aio: Derive availability of IOCB_CMD_FSYNC / IOCB_CMD_FDSYNC.

This commit is contained in:
Jason Volk 2019-03-13 15:58:20 -07:00
parent 0158e88949
commit eb7c7f07a7

View file

@ -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)