Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2780689ybd; Thu, 27 Jun 2019 19:47:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/Zf1aZMwChb4AE2UPPvlK59McsoebWT/lUggy4pOPq6ucQsugJ0H9zMwDVATPjhZolWO1 X-Received: by 2002:a63:5151:: with SMTP id r17mr6857034pgl.34.1561690046180; Thu, 27 Jun 2019 19:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561690046; cv=none; d=google.com; s=arc-20160816; b=RQlomx8q/8/zCxdrJlz571XHtJmB+UolxHoleFrAuNFE78oCtEAExOkgm8d8hCQOiM H5MRyYMpZJzOCPgK5F4gD45B0PerkK8jhKensRjCYpV0PJg1AfqkJskLipvaYfpVsP8C o1rq7c8IycHafRDvLyiR4Vw1wC3Pbq+UyEkXWibxeVew11qajr1Yrb//6gBpHrbw6DFn w/DZgSqTgJmZav/7OTNqX76VcvEXFt5hjQFSsYb0qeLTM0jahc/zTw/So8rLwl3iDgYF 06X91SUxKX3FZXdezX2a1gqvpnp/5imL0r2b369lqlu/Q8HVRW8s7Swzv2f7TadfJCny Yt2A== 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=hGB5YvaBxt80vBsXRzBhCdY2Ons/jJRvcvd9vF86X/8=; b=Q23LBSGUD8vpY7ykPHe5Jr/fUbC4Xdn45nijPFRickrSMcIRT/9viUYcVwU7BCNkQc pDp9XwH1zjhGNr5Sj5gejXqDmeR8BR2IZ/cghO/vctEYOmYGme7cXLFFGn0e/A0iGslu SUDhizBGFjEKyDkj233xJyNp9KvKcOqwuVz9Z5bNQd83Rbqqo9F9SHVgjeZhd6NFUpCo C5GRb+r6hUxYWdwYzEtX4hdmDYCldSr52PNw9p2c/WdgFJqVJdy/Sb+G9VYMIfDQWsCS k+6g8ETeOkBAmO7XkN4o6BJaVhSQLyXpoc6YUxZpCOj4urGfkAGpW/yyze+sS16n673Z NaYw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si818481pld.278.2019.06.27.19.47.09; Thu, 27 Jun 2019 19:47:26 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727058AbfF1Cqp (ORCPT + 99 others); Thu, 27 Jun 2019 22:46:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40188 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726833AbfF1Cqm (ORCPT ); Thu, 27 Jun 2019 22:46:42 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 14D8CC057E65; Fri, 28 Jun 2019 02:46:42 +0000 (UTC) Received: from localhost (dhcp-12-102.nay.redhat.com [10.66.12.102]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6ECAB1001B16; Fri, 28 Jun 2019 02:46:41 +0000 (UTC) Date: Fri, 28 Jun 2019 10:52:04 +0800 From: Zorro Lang To: Luis Chamberlain Cc: "Darrick J. Wong" , Amir Goldstein , Christoph Hellwig , Damien Le Moal , Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/13] xfs: allow merging ioends over append boundaries Message-ID: <20190628025204.GI30864@dhcp-12-102.nay.redhat.com> References: <20190627104836.25446-1-hch@lst.de> <20190627104836.25446-8-hch@lst.de> <20190627182309.GP5171@magnolia> <20190627214304.GB30113@42.do-not-panic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190627214304.GB30113@42.do-not-panic.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 28 Jun 2019 02:46:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 27, 2019 at 09:43:04PM +0000, Luis Chamberlain wrote: > On Thu, Jun 27, 2019 at 11:23:09AM -0700, Darrick J. Wong wrote: > > On Thu, Jun 27, 2019 at 12:48:30PM +0200, Christoph Hellwig wrote: > > > There is no real problem merging ioends that go beyond i_size into an > > > ioend that doesn't. We just need to move the append transaction to the > > > base ioend. Also use the opportunity to use a real error code instead > > > of the magic 1 to cancel the transactions, and write a comment > > > explaining the scheme. > > > > > > Signed-off-by: Christoph Hellwig > > > > Reading through this patch, I have a feeling it fixes the crash that > > Zorro has been seeing occasionally with generic/475... > > > > Reviewed-by: Darrick J. Wong > > Zorro, can you confirm? If so it would be great to also refer to > the respective bugzilla entry #203947 [0]. Sure, I'll give it a test. But it's so hard to reproduce, I need long enough time to prove "the panic's gone". BTW, should I only merge this single patch to test, or merge your whole patchset with 13 patches? Thanks, Zorro > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=203947 > > Luis