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 AA892C433F5 for ; Sun, 2 Oct 2022 18:24:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbiJBSYc (ORCPT ); Sun, 2 Oct 2022 14:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiJBSYb (ORCPT ); Sun, 2 Oct 2022 14:24:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADB7025295 for ; Sun, 2 Oct 2022 11:24:30 -0700 (PDT) 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 4A55060EDB for ; Sun, 2 Oct 2022 18:24:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4A87C433C1; Sun, 2 Oct 2022 18:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664735069; bh=pTRnwiyY2AQpNyn/S6sc20GAhk2lejRaOMtPjQEQ4vw=; h=Subject:From:To:Cc:Date:From; b=SX5BSI/yDl5yI4meNUpIL0xFW6POkFtm53BcCuvxwt5oHiu9nbtD7dTr5cD0z1BXE MW5461ypB2IfOgYO0NJjL6wNFpNhztne2j1dep0b3rT+3XmiABLdScEM9KDCgS8eos EQoRyFd8gmtcppZh7UeFl9QTP5S525tmeru2zSqWEqce9sY5fVWWvHQUpqJ8Mzs6Qx KUeF+sVpzAVbrLrYp3DFkiiceBUYFxcp+RWybhCuaLAlIja2VJxlpK8OxnOTTrmFdO 5925xsr4zgXRzqU8Ye0RYZQEekd79C/91a2pLvlyaUHxfaFBVsaglxkeIkahWKqR70 uynEgwxyQ6NzA== Subject: [PATCHSET v23.1 0/2] xfs: scrub inode core when checking metadata files From: "Darrick J. Wong" To: djwong@kernel.org Cc: linux-xfs@vger.kernel.org Date: Sun, 02 Oct 2022 11:20:26 -0700 Message-ID: <166473482605.1084588.1965700384229898125.stgit@magnolia> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi all, Running the online fsck QA fuzz tests, I noticed that we were consistently missing fuzzed records in the inode cores of the realtime freespace files and the quota files. This patch adds the ability to check inode cores in xchk_metadata_inode_forks. 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. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=scrub-check-metadata-inode-records --- fs/xfs/scrub/common.c | 40 ++++++++++++++++++++++++++++++++++------ fs/xfs/scrub/inode.c | 2 +- 2 files changed, 35 insertions(+), 7 deletions(-)