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 53F37C433EF for ; Fri, 27 May 2022 08:10:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345224AbiE0IKR (ORCPT ); Fri, 27 May 2022 04:10:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbiE0IKP (ORCPT ); Fri, 27 May 2022 04:10:15 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF623DF1B for ; Fri, 27 May 2022 01:10:13 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 1E1D268AFE; Fri, 27 May 2022 10:10:09 +0200 (CEST) Date: Fri, 27 May 2022 10:10:08 +0200 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , Qu Wenruo , linux-btrfs@vger.kernel.org Subject: Re: [PATCH v2 4/7] btrfs: introduce new read-repair infrastructure Message-ID: <20220527081008.GA17389@lst.de> References: <20220526074536.GA25911@lst.de> <20220526080056.GA26064@lst.de> <0cbbc3aa-a104-3d5e-ad13-a585533c9bcb@suse.com> <20220526081757.GA26392@lst.de> <78c1fb7f-60b7-b8fd-6e3c-c207122863aa@gmx.com> <20220526082851.GA26556@lst.de> <20220526085402.GA26954@lst.de> <13499702-2a49-4e4d-25fc-cd2910f503a0@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13499702-2a49-4e4d-25fc-cd2910f503a0@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, May 26, 2022 at 05:13:30PM +0800, Qu Wenruo wrote: >> Because you tell me that handling the most common and important case >> in read repair is just a performance issue, which you keep arguing for >> micro-optimizing a corner case. > > Because I'm fine either way, but not fine with the middle ground. Where the middle ground is optimizig for the common case while handling the non-common cases in a non-optimized way?