From patchwork Tue Jul 31 03:55:37 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: 10549839 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 476EF1708 for ; Tue, 31 Jul 2018 03:55:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 312AA28B54 for ; Tue, 31 Jul 2018 03:55:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21C5D297CF; Tue, 31 Jul 2018 03:55:42 +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 BC24228B54 for ; Tue, 31 Jul 2018 03:55:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727231AbeGaFdv (ORCPT ); Tue, 31 Jul 2018 01:33:51 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:60000 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727161AbeGaFdv (ORCPT ); Tue, 31 Jul 2018 01:33:51 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6V3sOeK010185 for ; Tue, 31 Jul 2018 03:55:40 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=3wd9fJDRZ1dn25S7ltolSaok0pzNhVt5GPEteI1Ojy8=; b=hk/JEW4saxXM/1kWCcgHIleWBUQQl0eheKH4rRgSzds4P9jEIZWJ194c0GBDiZos6qhV 4zJ817B6w33JT4yLeW/OX2xoxY+ea4XW8GIfDYrEmyYdTujewAXK4Y86Goe9lXZ9DSHI mACYnTR2R6dlBd0NtGaLdoFI0o/RUVBoY79bSKTd8gsYn44N6B8NlapApwOkulO7jJdW IvxMtLt2F5398Rff6gbAp9Xq6RxWrBdDn0hHN0tw/Evvi3+7fomt0/tuUsPI6jRit0ld VbhA6Eukhgjdp1m4tAh/JBeLiXa4t5PznKRcIqdhg4OSBMIPHZ0ttBAA19Lwjd+9a8dN 8Q== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2kge0cy7hd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 31 Jul 2018 03:55:39 +0000 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 w6V3tdHw009329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 31 Jul 2018 03:55:39 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6V3tcN8000808 for ; Tue, 31 Jul 2018 03:55:39 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 30 Jul 2018 20:55:38 -0700 Subject: [PATCH v2 0/4] xfs-4.19: superblock verifier cleanups From: "Darrick J. Wong" To: darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Mon, 30 Jul 2018 20:55:37 -0700 Message-ID: <153300933773.5164.7520087911614107147.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8970 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=255 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807310042 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. A fourth patch adds feature bit sanity checks for the write verifier. 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