Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3583199imu; Fri, 30 Nov 2018 02:47:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vs4Vx3Q9HrclZjXkAQ8Ufio4nTA45y28ADiL+v+X6SSaO76ajibeRGzwNQpoOGb6q5n9vf X-Received: by 2002:a62:1a44:: with SMTP id a65mr5215808pfa.30.1543574832965; Fri, 30 Nov 2018 02:47:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543574832; cv=none; d=google.com; s=arc-20160816; b=PEWHVrdTSTzbgrk0iO1bKdSzRs64CEkgHIVUpYY9m4INCfb2KCiuYhIYsy7Eh4JPyv bRQh3uKFijqoz5Y2purRHh6QLCIlzA4Zm0K9QI/c6oTt4mRdUzPa1fC39+TUHVgfylla H643jH4sW4itVdW8InLDPFGipT2UF6zH5HhEnChQ4V7pAA7mWg4vGZay+yDWFKHwS1y+ 3w1oDnRoAx8RbfDBazZGWNkTEFRNw5YrO1YTE5UQVE2Qn8FzCvBL1DwMV0i+Fg9K9cRQ lGSYJlTqMNmUJUBaWsUL9SyYTgOsMLeNBPNoorhV9QNn2pw7ca+36BJqizdsG8qc+lXd rOkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3aylhcAYhs0xJ/YKq70I5BACkzoJ0bPVAsC8Pq/LkI4=; b=dga+XNrvk9B0GpGyPm1+ZxSCdstAdYUIuisAced/xvu6n/UiB1+TgoYiaQWyQwblBH r2BfZsi2Ln4iFZlevZaJd+tjbOZtRojn8nYDBovTwb5ZqsIkVQ7T52FUBZTeEMw68lt2 Nz52cf89AWEsTA9F0AYRGV+QW1rqeR4XcM6Izj7MMDhxzFlXxFKRtmH7Fb3B1hAUsPn1 rWVI4Wf+P72KkTlbgcC7JPt0O1P3WmrTX6p0/N1BvndFmndKNiHi3j0MxHgJ/fW5TacP ZxUP4iZvWP+Zc11U3AMtFSwpo86PXFcFNz4JJ8H4w4fAO19RkfayRvff1Ho/NKVpK0VO 2Ecg== 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 b63si5234172pfa.250.2018.11.30.02.46.58; Fri, 30 Nov 2018 02:47:12 -0800 (PST) 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 S1726801AbeK3VzN (ORCPT + 99 others); Fri, 30 Nov 2018 16:55:13 -0500 Received: from verein.lst.de ([213.95.11.211]:49517 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbeK3VzN (ORCPT ); Fri, 30 Nov 2018 16:55:13 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 731A468BDF; Fri, 30 Nov 2018 11:46:20 +0100 (CET) Date: Fri, 30 Nov 2018 11:46:20 +0100 From: Christoph Hellwig To: Maximilian Heyne Cc: Christoph Hellwig , Torsten Mehlan , Uwe Dannowski , Amit Shah , David Woodhouse , stable@vger.kernel.org, Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk Subject: Re: [PATCH v2] fs: fix lost error code in dio_complete Message-ID: <20181130104620.GA26765@lst.de> References: <20181108185835.17803-1-mheyne@amazon.de> <83319cde-9855-d544-8079-15e028f4458f@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83319cde-9855-d544-8079-15e028f4458f@amazon.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Al, Jens, can someone pick this up, please? On Fri, Nov 30, 2018 at 10:02:22AM +0100, Maximilian Heyne wrote: > On 11/8/18 7:58 PM, Maximilian Heyne wrote: >> commit e259221763a40403d5bb232209998e8c45804ab8 ("fs: simplify the >> generic_write_sync prototype") reworked callers of generic_write_sync(), >> and ended up dropping the error return for the directio path. Prior to >> that commit, in dio_complete(), an error would be bubbled up the stack, >> but after that commit, errors passed on to dio_complete were eaten up. >> >> This was reported on the list earlier, and a fix was proposed in >> https://lore.kernel.org/lkml/20160921141539.GA17898@infradead.org/, but >> never followed up with. We recently hit this bug in our testing where >> fencing io errors, which were previously erroring out with EIO, were >> being returned as success operations after this commit. > I just wanted to follow up on this. Has anyone picked up this patch? > > > > Amazon Development Center Germany GmbH > Krausenstr. 38 > 10117 Berlin > Geschaeftsfuehrer: Christian Schlaeger, Ralf Herbrich > Ust-ID: DE 289 237 879 > Eingetragen am Amtsgericht Charlottenburg HRB 149173 B > ---end quoted text---