Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3491471imm; Wed, 5 Sep 2018 00:41:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZTGHqbXTZPtutr2kBFvovRIFFqfbG7g/aLUQiYWb8uLoP2feLtALJpiPTGdoW6lOmHF+Xr X-Received: by 2002:a17:902:d917:: with SMTP id c23-v6mr37386472plz.65.1536133319374; Wed, 05 Sep 2018 00:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536133319; cv=none; d=google.com; s=arc-20160816; b=zS9MWl1AUQAJ5uRhrv+qIa3ek+pqKMG6OOFMK+kksNe82h2gAScTO1Gh+l0DLgsBpD mDeLWj8LQZtnvvwuc5GHfMEizhqgDTeDw1TrAt3guWROZSLdWYg0yPr8NXJT1HIgKKzw nqUtrvXgQ/mHXWumEuX131UFrOdl1PrLr0585wEmunAGPOjL9yxkUoDhdo1jNQa4FshQ Z/OuyLLw2JAGu54YkIOprZdXvjLYSZcZEdRU0Q4+YanWvUiu5FknjM4MxiSqcPg6JiuW xP0E8IVGDXBJ9eXRpB4QEWC5h6b8i8XbOTn3Km9RmQzMmiYtQSBjpA4d1gCWD/OoARlB kFcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xjWgTS/JGBpVtlHH9vU3n0rZHmqZNWhxGJA36jFD4pA=; b=D+1ZFffiKrRywBRcF0gKAsdBEJaFT6EkAVN3j8BE7UzAPhR8hm/NtEGe0rrtitsJdH DWjdMs+yazTIELOAAFZzfiOyzqu/CafPSydKJDSLWormcpxoX/7real0n1mR/0zme0J3 Pu3U9CiSdVVLAAE7+LBSvK2uQtZ9OxGTH0uvqh+DsNpq7obOAZDpBKtttABYLuYDYSJH n76PQ/5rwTj8+tQSWa0DCzvudJqIlrhqCrhsMDoavyvjHz6XUCaVYR2HixX2e7ThAbP6 9wYlpzdarWvYGk47dI8bow2nCetq2l1Be8r1HVZ5OVomHUzNHQIRfN49ifno+jkySC8U ofxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15-v6si1248768pli.194.2018.09.05.00.41.43; Wed, 05 Sep 2018 00:41:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727700AbeIEMIy convert rfc822-to-8bit (ORCPT + 99 others); Wed, 5 Sep 2018 08:08:54 -0400 Received: from mondschein.lichtvoll.de ([194.150.191.11]:56315 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbeIEMIy (ORCPT ); Wed, 5 Sep 2018 08:08:54 -0400 Authentication-Results: auth=pass smtp.auth=martin smtp.mailfrom=martin@lichtvoll.de Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lichtvoll.de (Postfix) with ESMTPSA id BFA7F3A2B55; Wed, 5 Sep 2018 09:39:58 +0200 (CEST) From: Martin Steigerwald To: Rogier Wolff Cc: Jeff Layton , =?utf-8?B?54Sm5pmT5Yas?= , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: POSIX violation by writeback error Date: Wed, 05 Sep 2018 09:39:58 +0200 Message-ID: <3805399.0d8HT3LL4o@merkaba> In-Reply-To: <20180905070847.GC24519@BitWizard.nl> References: <20180905070847.GC24519@BitWizard.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rogier Wolff - 05.09.18, 09:08: > So when a mail queuer puts mail the mailq files and the mail processor > can get them out of there intact, nobody is going to notice. (I know > mail queuers should call fsync and report errors when that fails, but > there are bound to be applications where calling fsync is not > appropriate (*)) AFAIK at least Postfix MDA only reports mail as being accepted over SMTP once fsync() on the mail file completed successfully. And I?d expect every sensible MDA to do this. I don?t know how Dovecot MDA which I currently use for sieve support does this tough. -- Martin