Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6184142rwd; Mon, 5 Jun 2023 14:30:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XULS5/Wztn8++XSQ5kxZLc4jgJbFd4V4E4xSXj+vViSHsfF+fsKQX1bnyC27+n1hkv3Q5 X-Received: by 2002:aa7:8881:0:b0:658:8eae:a8de with SMTP id z1-20020aa78881000000b006588eaea8demr1235790pfe.4.1686000623744; Mon, 05 Jun 2023 14:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686000623; cv=none; d=google.com; s=arc-20160816; b=SrWouN6sHdzGseI6SGj3Zob6hSEsdubSXuGRRYwb34/mQJHSMuAjd7FV+uNK+XZxE3 mkc3Tz1muvOcRDywtz0bdJKewTqT9fHG8XT4aWMQieXv/ixon23O//gg+e1GM/F5tlFP Yw4rkNnW2HHfu/KDH0F9j62bRr/iDup2PwtTsFkSjGt/U4/Frr1l6679x5hHQmOJf1Pc G4axfrF9Curho0o34P/G8pmbwNCjpDwBXnSWtMuq7PZ+Whq7A+e/IYSffySD+3vcV4E1 X/DCk5XUjlv+hnFl4OUXemPfy5siqEJuPc9eyjsJvCs/X4WsaiylU1KUi6LW9gT93TOw eUaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=wnph7+oPyMmNyxdAR2lSsW9n2332H95DQGe3lGJ+RnM=; b=e5HU/JkGfrUWQvz1T1CgCgXCkNEquQvdye0n3FmNB7YmW7XdM+gu/2+vgU5H21Tox2 k+SGZWO/ciy2gDfeJVwNghiLnYtYc79QZb41iJVYD3XfQn/Kjrweqe4tGUmmARv9mjh+ OWUP+7hguGF8TAz6l4MnKsPPgZlvjTBmSZKm53BUXfw5i38SDBrROIQ19og4I8/ukhMr nAqkhsI3B+J+lIOe8Vlm6qQJagUZLODeI80ajxWfC0loAo52B3ZtrIgfX3QHVO+K2Lph sXTssDJIXEpSzIWvVh3wEPKMPyg5GBdhCPz8+QXTzhKV3Tdr0ZGwP4A2X4+Ii02g3d6p w3rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=wwd5yLEg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a63700c000000b0053eee275ae2si5932801pgc.32.2023.06.05.14.30.11; Mon, 05 Jun 2023 14:30:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=wwd5yLEg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232864AbjFEV0w (ORCPT + 99 others); Mon, 5 Jun 2023 17:26:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232600AbjFEV0u (ORCPT ); Mon, 5 Jun 2023 17:26:50 -0400 Received: from out-45.mta1.migadu.com (out-45.mta1.migadu.com [IPv6:2001:41d0:203:375::2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 058FEC5 for ; Mon, 5 Jun 2023 14:26:49 -0700 (PDT) Date: Mon, 5 Jun 2023 17:26:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1686000408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wnph7+oPyMmNyxdAR2lSsW9n2332H95DQGe3lGJ+RnM=; b=wwd5yLEgvSH4d+5xWJ6tolwo006zpdwkSJPNKLhPDVlmDucLbB43zlTx4L3qDNrxG2EuXQ 3uiAAV5lhacpa4y7Tu1zknaaEHIixORHvG/LZeJ0X89Q+f3vXAM6MfzR01MFNjROJmYhzI 3jTaKKS6JK/JJk/69GvKgK3Oow939nU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Jens Axboe Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/7] block layer patches for bcachefs Message-ID: References: <20230525214822.2725616-1-kent.overstreet@linux.dev> <8e874109-db4a-82e3-4020-0596eeabbadf@kernel.dk> <2a56b6d4-5f24-9738-ec83-cefb20998c8c@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 05, 2023 at 10:49:37AM -0600, Jens Axboe wrote: > On 6/4/23 5:38?PM, Kent Overstreet wrote: > > On Tue, May 30, 2023 at 10:50:55AM -0600, Jens Axboe wrote: > >> Sorry typo, I meant text. Just checked stack and it looks identical, but > >> things like blk-map grows ~6% more text, and bio ~3%. Didn't check all > >> of them, but at least those two are consistent across x86-64 and > >> aarch64. Ditto on the data front. Need to take a closer look at where > >> exactly that is coming from, and what that looks like. > > > > A good chunk of that is because I added warnings and assertions for > > e.g. running past the end of the bvec array. These bugs are rare and > > shouldn't happen with normal iterator usage (e.g. the bio_for_each_* > > macros), but I'd like to keep them as a debug mode thing. > > > > But we don't yet have CONFIG_BLOCK_DEBUG - perhaps we should. > > Let's split those out then, especially as we don't have a BLOCK_DEBUG > option right now. Already did that; there's a patch in the branch that adds CONFIG_BLK_DEBUG with the new assertions. > Cn you resend just the iterator changes in their current form? The > various re-exports are a separate discussion, I think we should focus on > the iterator bits first. They're up in that branch with the iterator changes first now; I'll mail them out too.