From patchwork Mon Jul 30 05:30:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10548411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 792AF13BB for ; Mon, 30 Jul 2018 05:30:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E429298B9 for ; Mon, 30 Jul 2018 05:30:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 51D3F298BC; Mon, 30 Jul 2018 05:30:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAC14298B9 for ; Mon, 30 Jul 2018 05:30:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726393AbeG3HD0 (ORCPT ); Mon, 30 Jul 2018 03:03:26 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:42420 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbeG3HD0 (ORCPT ); Mon, 30 Jul 2018 03:03:26 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6U5TSnO191671 for ; Mon, 30 Jul 2018 05:30:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : mime-version : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=+YTx7D3fKSPerRw2vGgBJycN6Lu4U1dgXjTVh99e4jg=; b=bwj7R10mQiAOmbkTYiBDOdKyVYFAgd8/Fyerrb7hjtDKpZipkAZUJcz2vX94hQa7h4pu XpjORNA+aMbkzGmhhzEehe92/Qm+3jJuGkmUuP585HNCBCL5rgYy9FSe7XMAoBLPSCNE SVwDWKiQrDM1wSCAY2ZH75fC3Q1PIXo2RXi9A2Q9l7qALUg1OIxlITtDBfS4YW6vRQSB sxbeCcVyMoOEdbANlCJiZBLoRAxiMyxcUUVwyaFMTWIujY58z6WEMSo+Yk1WF2t70Hqf y/Q2j0wcpL3G3K/VvNFyp9Ddfhk/H8mtHBQ1XC6yTm94qFJmqqAT/1x21WJEe+ERwuFS pQ== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2kgfwstvxr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Jul 2018 05:30:11 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6U5UA7v007922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Jul 2018 05:30:10 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6U5UAUK025920 for ; Mon, 30 Jul 2018 05:30:10 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 29 Jul 2018 22:30:10 -0700 Subject: [PATCH 0/3] xfs-4.19: superblock verifier cleanups From: "Darrick J. Wong" To: darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Sun, 29 Jul 2018 22:30:08 -0700 Message-ID: <153292860880.19274.14533449137039985963.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8969 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=257 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807300062 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This series refactors the superblock verification routines into three predicates: one to handle checks that are only done at read time, another for write time checks, and a third for checks common to both. We then add some sanity checks for the summary counters to the write verifier (a reworked version of Bill O'Donnell's earlier patch), and end by addding a verifier for inode counts and adding that into the superblock write checks. Comments and questions are, as always, welcome. --D --- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html