From mboxrd@z Thu Jan 1 00:00:00 1970 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 23FFFC43334 for ; Thu, 16 Jun 2022 10:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376600AbiFPKzD (ORCPT ); Thu, 16 Jun 2022 06:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbiFPKzB (ORCPT ); Thu, 16 Jun 2022 06:55:01 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5715DE56 for ; Thu, 16 Jun 2022 03:55:00 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id E5D1D67373; Thu, 16 Jun 2022 12:54:56 +0200 (CEST) Date: Thu, 16 Jun 2022 12:54:56 +0200 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , David Sterba , Josef Bacik , Qu Wenruo , linux-btrfs@vger.kernel.org Subject: Re: [PATCH 4/5] btrfs: remove the raid56_parity_{write,recover} return value Message-ID: <20220616105456.GA10225@lst.de> References: <20220615151515.888424-1-hch@lst.de> <20220615151515.888424-5-hch@lst.de> <281a06be-aba0-bcce-5681-dc81b0245124@gmx.com> <20220616063618.GB5608@lst.de> <63bf9e04-373a-0bee-5200-c843f0490f42@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <63bf9e04-373a-0bee-5200-c843f0490f42@gmx.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Jun 16, 2022 at 05:53:52PM +0800, Qu Wenruo wrote: > But I didn't see the caller increasing the counter either. > > Or did I miss something? (I expect the counter inc/dec still get > properly paired at least inside the same patch) btrfs_submit_bio increments it, and then decrements it after calling the raid helpers.