From df67ff3e906498eee4270820468c52928df9e3eb Mon Sep 17 00:00:00 2001 From: gilles Date: Mon, 12 Oct 2015 22:29:49 +0000 Subject: [PATCH] do not call sync() when committing a message, it's not helping in any way --- usr.sbin/smtpd/queue_fs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/usr.sbin/smtpd/queue_fs.c b/usr.sbin/smtpd/queue_fs.c index 38d027cdcf2..690c7f5d014 100644 --- a/usr.sbin/smtpd/queue_fs.c +++ b/usr.sbin/smtpd/queue_fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_fs.c,v 1.8 2015/01/20 17:37:54 deraadt Exp $ */ +/* $OpenBSD: queue_fs.c,v 1.9 2015/10/12 22:29:49 gilles Exp $ */ /* * Copyright (c) 2011 Gilles Chehade @@ -165,9 +165,6 @@ queue_fs_message_commit(uint32_t msgid, const char *path) return 0; } - /* best effort */ - sync(); - return 1; } -- 2.20.1