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 00D7DC433F5 for ; Fri, 13 May 2022 11:23:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238974AbiEMLX3 (ORCPT ); Fri, 13 May 2022 07:23:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358866AbiEMLX2 (ORCPT ); Fri, 13 May 2022 07:23:28 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE6723DEF1 for ; Fri, 13 May 2022 04:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xGu+ggtNU7gHyNn1wgc8wnh3l8Bfgmo1ZLGJlArDWe8=; b=TeIBUjuSs1ea4v8ZZPn8i9YWcs 990A/kKwsiD1djC9R4u16tk0WlGXodGFT3oCDdtBg17L7uoTT9VyiXeMQAMWXiLEyWINkjv9aMbZ2 2Af00Ib6rmZUdBXisdx5/tdjFHBlJ7py/+/Oo8F6Vqh99G1jjQKVh5iLoM1ODo37MtkLi2WfnJmb3 m10srMAszFOgmO+y1L62TWu4Z6vY7iiDDd/9sNvUsypziz3awP0rYRKVOAuPvHO3oBx/6hjejG0Kb yVo+/uWLR3IWk7wCGG3Vi+3bv0AF2B70G8uR3TxvhGctOQxO7R/rPu6Ct+RpLDUxK41d4q8WzgPa5 RcF9DmAg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1npTOD-00FlNX-Sk; Fri, 13 May 2022 11:23:21 +0000 Date: Fri, 13 May 2022 04:23:21 -0700 From: Christoph Hellwig To: Qu Wenruo Cc: Christoph Hellwig , dsterba@suse.cz, Qu Wenruo , linux-btrfs@vger.kernel.org Subject: Re: [PATCH 05/13] btrfs: add btrfs_read_repair_ctrl to record corrupted sectors Message-ID: References: <3f9b82f1bcc955fbb689a469e749cf1534857ea1.1651559986.git.wqu@suse.com> <20220512171629.GT18596@twin.jikos.cz> <5520df08-b998-a384-f1aa-16b301474cab@gmx.com> <581432b0-9324-8509-2737-a57f19c93937@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <581432b0-9324-8509-2737-a57f19c93937@gmx.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Fri, May 13, 2022 at 07:21:55PM +0800, Qu Wenruo wrote: > This middle ground is still synchronous, but batched. > > Although for the checker patterned corrupted sectors, it falls back to > fully synchronous submit for each sector. Indeed. But how common is that case?