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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1423C433DB for ; Fri, 5 Mar 2021 08:31:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC10B6501A for ; Fri, 5 Mar 2021 08:31:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbhCEIae (ORCPT ); Fri, 5 Mar 2021 03:30:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbhCEIaK (ORCPT ); Fri, 5 Mar 2021 03:30:10 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31C9EC061574 for ; Fri, 5 Mar 2021 00:30:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=lSKqtSMQHt7iNIZI0IVPJnyFcEzmxC7l0cPGCiCM9o8=; b=YRkUVDzhFTr6W6i61AQKPC1wns vj1JHo05c+C1RvB5mn+xd1XKHwnH9JVIOXNucOREqPKUG1imRUS5YbzF+XLZY061Bc4+BUI7isbZi XJgXsHzlfbdEpo9zRbRPwu7VujlJ13vhcJ78U1toVCZtA9jSgeRgsdZJfzlCcyMmDMjroV2YrNGBt k9IMYfYbHllMDtsaNGz7pz86x4wcj+JXb7DQydc6CzKZrpN5TSF9MiZxVZMVxiu7I6/M0mPOIUmy9 ziT9kMjA2q35Qs2uMUU2GyGw81woyIJbCQRNyBHunhE8YRU534R0RFJa7XnPvGZoujTVG3ZLBYqVz R+4oUoCg==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lI5qH-00Aq2b-IR; Fri, 05 Mar 2021 08:29:59 +0000 Date: Fri, 5 Mar 2021 08:29:49 +0000 From: Christoph Hellwig To: "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org Subject: Re: [PATCH 7/7] xfs: validate ag btree levels using the precomputed values Message-ID: <20210305082949.GG2567783@infradead.org> References: <161472411627.3421582.2040330025988154363.stgit@magnolia> <161472415607.3421582.13410103932115410995.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <161472415607.3421582.13410103932115410995.stgit@magnolia> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Tue, Mar 02, 2021 at 02:29:16PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong > > Use the AG btree height limits that we precomputed into the xfs_mount to > validate the AG headers instead of using XFS_BTREE_MAXLEVELS. > > Signed-off-by: Darrick J. Wong Looks good, Reviewed-by: Christoph Hellwig