mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-01 23:54:12 +08:00
mdbx-test: добавление исключений Valgrind для нового кода.
This commit is contained in:
parent
ae8e373143
commit
688ec3e85c
@ -621,8 +621,12 @@ MDBX_INTERNAL_FUNC int osal_ioring_create(osal_ioring_t *ior,
|
||||
#endif /* !Windows */
|
||||
|
||||
#if MDBX_HAVE_PWRITEV && defined(_SC_IOV_MAX)
|
||||
if (!osal_iov_max)
|
||||
if (!osal_iov_max) {
|
||||
osal_iov_max = sysconf(_SC_IOV_MAX);
|
||||
if (RUNNING_ON_VALGRIND && osal_iov_max > 64)
|
||||
/* чтобы не описывать все 1024 исключения в valgrind_suppress.txt */
|
||||
osal_iov_max = 64;
|
||||
}
|
||||
#endif
|
||||
|
||||
ior->boundary = (char *)(ior->pool + ior->allocated);
|
||||
|
@ -33,16 +33,22 @@
|
||||
|
||||
# memcmp() inside iov_write() as workaround for todo4recovery://erased_by_github/libmdbx/issues/269
|
||||
{
|
||||
write-page-check-bcmp
|
||||
iov-pagecheck-1
|
||||
Memcheck:Cond
|
||||
fun:bcmp
|
||||
fun:iov_write*
|
||||
fun:iov_callback4dirtypages
|
||||
fun:osal_ioring_walk
|
||||
fun:iov_complete
|
||||
fun:iov_write
|
||||
}
|
||||
{
|
||||
write-page-check-memcmp
|
||||
iov-pagecheck-2
|
||||
Memcheck:Cond
|
||||
fun:memcmp*
|
||||
fun:iov_write*
|
||||
fun:iov_callback4dirtypages
|
||||
fun:osal_ioring_walk
|
||||
fun:iov_complete
|
||||
fun:iov_write
|
||||
}
|
||||
|
||||
# single-page flush by pwrite()
|
||||
|
Loading…
x
Reference in New Issue
Block a user