From patchwork Thu Feb 16 20:30:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 13143743 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 D0447C636CC for ; Thu, 16 Feb 2023 20:30:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbjBPUai (ORCPT ); Thu, 16 Feb 2023 15:30:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbjBPUah (ORCPT ); Thu, 16 Feb 2023 15:30:37 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87E3B196A9 for ; Thu, 16 Feb 2023 12:30:36 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2601E60A65 for ; Thu, 16 Feb 2023 20:30:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89F8DC433EF; Thu, 16 Feb 2023 20:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676579435; bh=oVKw5E6AwduIylvBkDvQ/VqZWBNer8Rl4y3cXfU0CKw=; h=Date:Subject:From:To:Cc:In-Reply-To:References:From; b=kQMAWKlx/G8T4NyLU5U0NS9JS/CS+DgP4LikhxQlo5q7q4YWw9PvioBxnloM3wpqd k6INezHaRdAipWEnfe8q29u8bp5DAJzRAlxQkXspDANm0VGpLhFZ/sOFu+958gnvfy GASeFIFFh/18zYvMd/gmEjXZD9fSTWMgb98kBtGfw2WB/8/9RWyXvaUz4Rn+4iN5ev KNvF1Mf1E+OJKMrJNXuFyvjjIPM2vUHv5FJZK3Esa3y+y2HPZptbebSAWgFbzVFFac p8QFT4niQqQsok55phRgHEq54L8RkqWV01wILu29Axv/3lzEW7k4DqMEK8ywja2I+I iry4LNFY7Avsg== Date: Thu, 16 Feb 2023 12:30:35 -0800 Subject: [PATCHSET v9r2d1 0/1] xfsprogs: online checking of parent pointers From: "Darrick J. Wong" To: djwong@kernel.org Cc: allison.henderson@oracle.com, linux-xfs@vger.kernel.org Message-ID: <167657881358.3477633.3415293053198592445.stgit@magnolia> In-Reply-To: References: User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi all, Update the existing online parent pointer checker to confirm the directory entries that should also exist. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs-online-parent-check xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs-online-parent-check --- libxfs/xfs_parent.c | 38 ++++++++++++++++++++++++++++++++++++++ libxfs/xfs_parent.h | 10 ++++++++++ 2 files changed, 48 insertions(+)