From patchwork Mon May 20 23:16:41 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: 10952545 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 1C9DD112C for ; Mon, 20 May 2019 23:16:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09C612015F for ; Mon, 20 May 2019 23:16:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1C7228896; Mon, 20 May 2019 23:16:48 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, 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 7DC432015F for ; Mon, 20 May 2019 23:16:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726357AbfETXQr (ORCPT ); Mon, 20 May 2019 19:16:47 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:45748 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726575AbfETXQr (ORCPT ); Mon, 20 May 2019 19:16:47 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4KNDela136210; Mon, 20 May 2019 23:16:44 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=COhFmLLBdmk+goGNZbOXdilNvyuNTKFL16WR0gusU2A=; b=OmOxOgORMSIPmk8+zPJqY9DFFKClNJ2o1fS/sOReSfBxDapOoqWKEAoXtbI6Kx/UWkEd 54M99DJLQygaQ/h0HdAaph40ILIc0a+/mUBmUmF0/7CNRCqBHmDYRX5/m+2srvbvaOeM AiHdaLwHgESQ/xvM5PtAEA7gAoIEXOMDD6UnTKBg/pBnjOQC9KyWXTaIJRBXH5fxIil0 HgiLua79DiOhzlwfjQsGXjOD7iviGQjvf21OkEy3kvHVR06ED+40IwJTitbsH6LPS7rT 7O7uuIwYi/YrHtVsRPY0PANt548oV2hQOG0c3F28PvdFepkk9SOFqrS27uucJBA/hCSf NQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2sj9fta09s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 May 2019 23:16:44 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4KNFT47118696; Mon, 20 May 2019 23:16:44 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 2sks1xv82t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 May 2019 23:16:43 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x4KNGgAt021767; Mon, 20 May 2019 23:16:42 GMT Received: from localhost (/10.159.247.197) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 May 2019 23:16:42 +0000 Subject: [PATCH 00/12] xfsprogs-5.1: fix various problems From: "Darrick J. Wong" To: sandeen@sandeen.net, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Mon, 20 May 2019 16:16:41 -0700 Message-ID: <155839420081.68606.4573219764134939943.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9263 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 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-1810050000 definitions=main-1905200142 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9263 signatures=668687 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905200142 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, Fix various problems in the xfsprogs-specific parts of the libxfs code. The first two patches fix some minor bugs in libxfs. Patches 3-6 refactor all utilities to use common libhandle functions to retrieve the filesystem geometry, bulkstat, and inumbers. The helpers will make it easier for newer userspace to fall back to older versions of ioctls. Patch 7 fixes the return types on the libfrog bitmap code functions to be more general and less scrub specific. Patch 8 ports xfs_repair to use the libxfs dirent and attr name check functions. Patch 9 reworks the xfs_scrub throttling function to use named constants instead of magic values to make it easier to verify that it actually does what the manpage says. Patch 10 enables mkfs to set the DAX flag on the root directory. Patch 11 strengthens mkfs's log alignment checking code. Patch 12 enables reflink by default in mkfs. 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=xfsprogs-5.1-fixes