From patchwork Tue Oct 29 23:45:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 11218825 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 67AA214E5 for ; Tue, 29 Oct 2019 23:45:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A5EB20856 for ; Tue, 29 Oct 2019 23:45:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="i4izkSRi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726048AbfJ2Xpb (ORCPT ); Tue, 29 Oct 2019 19:45:31 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:36122 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfJ2Xpb (ORCPT ); Tue, 29 Oct 2019 19:45:31 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9TNdaOj024001; Tue, 29 Oct 2019 23:45:29 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-2019-08-05; bh=BHj+KIL5yOkTv5+qhfjyRZ/P/iH9pw+YJYo6kvVAgUo=; b=i4izkSRi6D4K7QyB1nd7FayQ6Yra8eQNJa+WA28qh0nRCaYQuf8F5EKWCkcZFcA77qPo gCultfxrD36eMcapFF9AgEw5VmNoYpw3VObFMPAj0cSVdkezvuQMcEoL22QFM5MqhEtG afQWpJArjz4pecpFyB7Um0AZZhyCGXI9KaQVaqtRNjluQdPW5ohao2VGvw2F0Q1CEtJ5 yvbbWeIBQTHJXMxopYKdPlKFsg6b9S2o/PZihGFg7kijYeEQSXvFrMfUqYkrwjc1mKrk 05kSvh8di0xSBHiPHlcZZYS8OuETFZO3mEtrHjWDcwV5igSKPsZCooe8m6I28ywMxQ6s fQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2vxwhf8c59-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Oct 2019 23:45:29 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9TNhNXX010663; Tue, 29 Oct 2019 23:45:28 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 2vxwj55fr9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Oct 2019 23:45:28 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x9TNjRND031895; Tue, 29 Oct 2019 23:45:28 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Oct 2019 16:45:27 -0700 Subject: [PATCH RFC 0/9] xfs_repair: use btree bulk loading From: "Darrick J. Wong" To: sandeen@sandeen.net, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Tue, 29 Oct 2019 16:45:26 -0700 Message-ID: <157239272641.1277435.17698788915454836309.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9425 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=757 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910290208 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9425 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=856 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910290208 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi all, Refactor xfs_repair to use the btree bulk loading code instead of the open-coded versions in phase5.c. This isn't a full submission; it's merely a demonstration of how the kernel patches can be used in userspace. 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 xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=repair-bulk-load