aboutsummaryrefslogtreecommitdiffstats
path: root/src/statfile.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-15 13:47:48 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-15 13:47:48 +0300
commit76735454f40523d6038bad9d42c9aaba188c6229 (patch)
tree13c41e3db2f45e4873f208e06c7d83bfb9f6c5c4 /src/statfile.c
parent99d911bad474a7c6844713b35fbd805a8b1b8ace (diff)
downloadrspamd-76735454f40523d6038bad9d42c9aaba188c6229.tar.gz
rspamd-76735454f40523d6038bad9d42c9aaba188c6229.zip
Do not invalidate statfiles during synchronization.
Diffstat (limited to 'src/statfile.c')
-rw-r--r--src/statfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile.c b/src/statfile.c
index cf8d12e3f..0f5b227c8 100644
--- a/src/statfile.c
+++ b/src/statfile.c
@@ -824,7 +824,7 @@ statfile_pool_invalidate_callback (gint fd, short what, void *ud)
for (i = 0; i < pool->opened; i ++) {
file = &pool->files[i];
- msync (file->map, file->len, MS_ASYNC | MS_INVALIDATE);
+ msync (file->map, file->len, MS_ASYNC);
}
}