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:
parent
0158e88949
commit
eb7c7f07a7
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue