From: Vsevolod Stakhov Date: Tue, 15 Mar 2011 10:47:48 +0000 (+0300) Subject: Do not invalidate statfiles during synchronization. X-Git-Tag: 0.3.8~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76735454f40523d6038bad9d42c9aaba188c6229;p=thirdparty%2Frspamd.git Do not invalidate statfiles during synchronization. --- diff --git a/src/statfile.c b/src/statfile.c index cf8d12e3f9..0f5b227c8e 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); } }