diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-15 13:47:48 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-15 13:47:48 +0300 |
commit | 76735454f40523d6038bad9d42c9aaba188c6229 (patch) | |
tree | 13c41e3db2f45e4873f208e06c7d83bfb9f6c5c4 /src/statfile.c | |
parent | 99d911bad474a7c6844713b35fbd805a8b1b8ace (diff) | |
download | rspamd-76735454f40523d6038bad9d42c9aaba188c6229.tar.gz rspamd-76735454f40523d6038bad9d42c9aaba188c6229.zip |
Do not invalidate statfiles during synchronization.
Diffstat (limited to 'src/statfile.c')
-rw-r--r-- | src/statfile.c | 2 |
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); } } |