From patchwork Mon Jul 30 05:47:47 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: 10548419 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 D9C6B139A for ; Mon, 30 Jul 2018 05:48:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 071F8293FF for ; Mon, 30 Jul 2018 05:47:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEDF02941C; Mon, 30 Jul 2018 05:47:56 +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 80F2B293FF for ; Mon, 30 Jul 2018 05:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726227AbeG3HVK (ORCPT ); Mon, 30 Jul 2018 03:21:10 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:58854 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbeG3HVK (ORCPT ); Mon, 30 Jul 2018 03:21:10 -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 w6U5halV027151; Mon, 30 Jul 2018 05:47:49 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=q/zsHItOck2nACDMCItUzpM++dXN/28K8vBbhGp9+Qk=; b=ukhGfkNld3pMWCKsOaoS2kgGKGTc23bOGOkObqNMcrzFDwSpLJLd/wLrUgHWxLjQuzF4 kG8Y0R34/woTR98dEKOjSfoazg10qct8t3Uf1ZywBXM1zcI9y8hLWeD0eJnCkVzFOceA +icWfIbqIuMJtZKEKnuN6ONSNWqLKtjqiVd1g3bTEv+nDFyY4Q6axwZKe9ZgwxLCMtuq HUaipavPum4SCI7f0Y91aw/Rjyfr8rNlj3S5GI+L2QyMT9/FFhUL/+Q+p4ZSXSSXNJLi nHMduRW3FHIuNGkOh+JEBkMhL26W3oZ2rerqDM94HBZsHix4Txw+YXYmjxMPK1qr+IxI Dw== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2kge0cu0kh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Jul 2018 05:47:49 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6U5lnwd012604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Jul 2018 05:47:49 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6U5lmcq031118; Mon, 30 Jul 2018 05:47:48 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 29 Jul 2018 22:47:48 -0700 Subject: [PATCH v17.1 00/14] xfs-4.19: online repair support From: "Darrick J. Wong" To: darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, bfoster@redhat.com, david@fromorbit.com, allison.henderson@oracle.com Date: Sun, 29 Jul 2018 22:47:47 -0700 Message-ID: <153292966714.24509.15809693393247424274.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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807300065 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 is the seventeenth revision of a patchset that adds to XFS kernel support for online metadata scrubbing and repair. There aren't any on-disk format changes. New for v17.1 are a few fixes suggested by Brian Foster in v17 and a rebase of the series atop for-next, which adapts the repair code to the new way of hadling deferred log operations. New for v17 of the patch series are fixes for numerous review comments that came from Dave and Allison. The long prefixes of the previous versions have been drastically shortened. Comments about the strategies used to repair broken parts of the filesystem have been expanded where reviewers thought it confusing. A few data structures have been renamed to reflect more accurately what they do. Note, this series does not include any of the controversial repair functionality that requires fs freezing; that has been deferred to a later posting. The first patch renames the 'extent list' functionality into a separate file and rename it xfs_bitmap, since that's what the data structure actually represents. Patches 2-12 implement reconstruction of the AGF/AGI/AGFL headers, the free space btrees, the inode btrees, the inodes, the inode forks, the inode block maps, symbolic links, and extended attributes. Patch 13 augments scrub to rebuild extended attributes when any of the attr blocks are fragmented. Patch 14 implements reconstruction of quota blocks. If you're going to start using this mess, you probably ought to just pull from my git trees. The kernel patches[1] should apply against 4.18-rc7. xfsprogs[2] and xfstests[3] can be found in their usual places. The git trees contain all four series' worth of changes. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D [1] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=djwong-devel [2] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=djwong-devel [3] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=djwong-devel --- 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