From owner-cvs-libexec Tue Oct 31 01:14:38 1995 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA05882 for cvs-libexec-outgoing; Tue, 31 Oct 1995 01:14:38 -0800 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id BAA05845 ; Tue, 31 Oct 1995 01:14:20 -0800 Received: by sequent.kiae.su id AA16420 (5.65.kiae-2 ); Tue, 31 Oct 1995 12:13:00 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Tue, 31 Oct 95 12:12:59 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.12/8.6.12) id MAA01070; Tue, 31 Oct 1995 12:06:27 +0300 To: Peter Wemm Cc: CVS-commiters@freefall.freebsd.org, cvs-libexec@freefall.freebsd.org References: In-Reply-To: ; from Peter Wemm at Tue, 31 Oct 1995 16:30:27 +0800 (WST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Tue, 31 Oct 1995 12:06:26 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/libexec/mail.local Makefile mail.local.c Lines: 44 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1481 Sender: owner-cvs-libexec@FreeBSD.org Precedence: bulk In message Peter Wemm writes: >On Tue, 31 Oct 1995, Andrey A. Chernov wrote: >> ache 95/10/31 00:22:14 >> >> Modified: libexec/mail.local Makefile mail.local.c >> Log: >> Put fsync under #ifdef EXTRA_SANITY and turn it off by default. >> fsync here cause real disk trashing when large UUCP mail chanks >> parsed. >I dont mean to upset Andrey, but IMHO, this is a FUNDAMENTAL sanity >requirement. IMHO, incoming email is *precious*, especially on a >commercial system. >Andrey, I respectfully request that you change it from >#ifdef EXTRA_SANITY > fsync().. >#endif >to >#ifndef DONT_FSYNC > fsync() >#endif Ok, I understand you... >And the same for Taylor-UUCP 1.06, and sendmail(?) in case you were thinking >about doing those too. IMHO, this is bad karma, because we've committed to >accepting and delivering the mail. Taylor-UUCP doesn't do fsync by default, sendmail do it in rare cases, so I don't think about them. fsync in mail.local is evil probably only on UUCP sites when large mail chunks parsed at once, on SMTP sites mail usually arrives in async. order, so it not hits. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849