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 51E15C678D4 for ; Fri, 3 Mar 2023 14:21:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230115AbjCCOV1 (ORCPT ); Fri, 3 Mar 2023 09:21:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229960AbjCCOV1 (ORCPT ); Fri, 3 Mar 2023 09:21:27 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58AD15FEA4 for ; Fri, 3 Mar 2023 06:21:26 -0800 (PST) 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=dI1FyCrTEsT6umqxXG9hWk+k+hSTgxxO2gDwwyPjwIQ=; b=C0XBEfQjWE5asKjY+stIhPPzFO rW89qtUNssnH0SV81YcScnC+M3YbmFtl2r6wLDzJGHmg5AYuF7/Issf3fbMTTtKBlFV3a3qSlDgoe Abh42e85cLuHDxQrVqfAWOY+IvK4fUDFgE0eNY3n+fBODuYvIfqv3QbbAOoY//2N1Rv63pFeMrQrg QjVok3aCxyOS/aKINA29bZA+J5p6tYRVr/muMGXhOZqG59GvqL+YDE2PiApS3L8glhDrYDXAzc0u0 I9xGwfR2kWfHjgdMgT7wLzY9gzqq43TLDhXK3Nk+qItwI0BrxEwd3tSpI8ZhQ5XuLmzdPNnooZ95y +aa+C2NA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pY6Hj-006ayi-Hy; Fri, 03 Mar 2023 14:21:23 +0000 Date: Fri, 3 Mar 2023 06:21:23 -0800 From: "hch@infradead.org" To: Qu Wenruo Cc: Johannes Thumshirn , "hch@infradead.org" , David Sterba , "linux-btrfs@vger.kernel.org" , Josef Bacik , Christoph Hellwig , Damien Le Moal Subject: Re: [PATCH v7 04/13] btrfs: add support for inserting raid stripe extents Message-ID: References: <94293952cdc120b46edf82672af874b0877e1e83.1677750131.git.johannes.thumshirn@wdc.com> <3e2d5ede-fb00-3aa8-e55e-d088b8df9e60@gmx.com> <6eabe69c-3abe-255b-797f-7917cd6a33cd@gmx.com> <7bd4ce91-58e6-f68b-6d69-3f9deff39ff5@wdc.com> <48acd511-7f69-4c42-44ea-a39973d57c98@gmx.com> <839ea665-7fc0-334c-e289-deceb417c0fc@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <839ea665-7fc0-334c-e289-deceb417c0fc@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, Mar 03, 2023 at 07:42:00PM +0800, Qu Wenruo wrote: > From my understanding, HCH's proposal is a super set of 2), not only do the > ordered IO thing in the same workqueue, but also all the other endio works, > thus if done properly can easily handle all the complex dependency. I've pushed my current WIP out, some of the commit logs aren't there yet, and it still does some superflous offloads for RAID5 reads: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/btrfs-io_end-work