Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E23DDC77B7F for ; Sat, 20 May 2023 04:48:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjETEse (ORCPT ); Sat, 20 May 2023 00:48:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjETEsd (ORCPT ); Sat, 20 May 2023 00:48:33 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346FFE40 for ; Fri, 19 May 2023 21:48:32 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id C989A68CFE; Sat, 20 May 2023 06:48:28 +0200 (CEST) Date: Sat, 20 May 2023 06:48:28 +0200 From: Christoph Hellwig To: Johannes Thumshirn Cc: Christoph Hellwig , "clm@fb.com" , "josef@toxicpanda.com" , "dsterba@suse.com" , "linux-btrfs@vger.kernel.org" Subject: Re: [PATCH] btrfs: call btrfs_orig_bbio_end_io when btrfs_end_bio_work Message-ID: <20230520044828.GA32182@lst.de> References: <20230515091821.304310-1-hch@lst.de> <2706bb39-a7a6-f04f-89be-427914b98d49@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2706bb39-a7a6-f04f-89be-427914b98d49@wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Fri, May 19, 2023 at 03:09:23PM +0000, Johannes Thumshirn wrote: > Reviewed-by: Johannes Thumshirn > Tested-by: Johannes Thumshirn To add some context: in addition to the old file system with unaligned metadata chunks case documented in the commit log, the combination of the new scrube code with Johannes pending raid-stripe-tree also triggers this case. We spent some time debugging it yesterday and found that this patch solves the problem.