From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com ([156.151.31.81]:41742 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbdH1SQd (ORCPT ); Mon, 28 Aug 2017 14:16:33 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7SIGVQ9009957 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 28 Aug 2017 18:16:32 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v7SIGVhg013988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 28 Aug 2017 18:16:31 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v7SIGVf9018709 for ; Mon, 28 Aug 2017 18:16:31 GMT Subject: [PATCH 00/12] xfs: more and better verifiers From: "Darrick J. Wong" Date: Mon, 28 Aug 2017 11:16:29 -0700 Message-ID: <150394418979.24826.12970283067445908653.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: linux-xfs@vger.kernel.org, darrick.wong@oracle.com Hi all, This patch series combines all the random little fixes and improvements to the verifiers that we've been talking about for the past month or so into a single patch series! We start by refactoring the long format btree block header verifier into a single helper functionn and de-macroing dir block verifiers to make them less shouty. Next, we change verifier functions to return the approximate instruction pointer of the faulting test so that we can report more precise fault information to dmesg/tracepoints. Then, we move on to creating verifiers for all the inline format fork formats, and create a helper function for _iget that can dispatch inline verification. The ability to supply custom verifier functions will be used by xfs_repair to deal with corrupt inodes. The last patch enables us to (re)check the structure of incore metadata buffers to try to detect memory corruption. --D