From a2fd5b1819e875c9dd967e947048d11e664236b8 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 7 May 2014 15:46:07 +0300 Subject: [PATCH] Re: Linux-only fdatasync() in 3c13bc --- c3/e5715227575a568dcda34e545ff811bcea94d7 | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 c3/e5715227575a568dcda34e545ff811bcea94d7 diff --git a/c3/e5715227575a568dcda34e545ff811bcea94d7 b/c3/e5715227575a568dcda34e545ff811bcea94d7 new file mode 100644 index 000000000..234fb2e11 --- /dev/null +++ b/c3/e5715227575a568dcda34e545ff811bcea94d7 @@ -0,0 +1,71 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 5B087431FAF + for ; Wed, 7 May 2014 05:46:22 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Jkzl0yc4cPc1 for ; + Wed, 7 May 2014 05:46:15 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 7F3DA431FAE + for ; Wed, 7 May 2014 05:46:15 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 004551000E5; + Wed, 7 May 2014 15:46:07 +0300 (EEST) +From: Tomi Ollila +To: Kushal Kumaran , notmuch@notmuchmail.org +Subject: Re: Linux-only fdatasync() in 3c13bc +In-Reply-To: <536a1723.0578e00a.601a.ffff976f@mx.google.com> +References: <20140506195938.GA18213@coyotlan.Tlalpan> + <536a1723.0578e00a.601a.ffff976f@mx.google.com> +User-Agent: Notmuch/0.18+12~gbfbd199 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 07 May 2014 12:46:22 -0000 + +On Wed, May 07 2014, Kushal Kumaran wrot= +e: + +> X=C4=ABc=C3=B2 writes: +> +>> Also, commit 3c13bc introduced a call to fdatasync() which is not +>> available on FreeBSD, and probably not either on MacOS at least. +>> +> +> fdatasync is POSIX: +> http://pubs.opengroup.org/onlinepubs/009695399/functions/fdatasync.html + +No wonder it is problematic, then >;) + +> --=20 +> regards, +> kushal + +Tomi -- 2.26.2