mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::fs: Indicate no write-life hint support while executing in valgrind.
This commit is contained in:
parent
3b6a63b2c0
commit
317577d6eb
1 changed files with 3 additions and 2 deletions
|
@ -208,8 +208,9 @@ decltype(ircd::fs::support::rwh_write_life)
|
|||
ircd::fs::support::rwh_write_life
|
||||
{
|
||||
#if defined(HAVE_FCNTL_H) && defined(F_SET_FILE_RW_HINT)
|
||||
info::kernel_version[0] > 4 ||
|
||||
(info::kernel_version[0] >= 4 && info::kernel_version[1] >= 13)
|
||||
(info::kernel_version[0] > 4 ||
|
||||
(info::kernel_version[0] >= 4 && info::kernel_version[1] >= 13))
|
||||
&& !vg::active // not yet supported by valgrind
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue