From patchwork Fri Aug 30 04:20:20 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: 11122879 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 3EB3C1399 for ; Fri, 30 Aug 2019 04:20:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0EAFD22CE9 for ; Fri, 30 Aug 2019 04:20:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="fGcdPCD+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726144AbfH3EU1 (ORCPT ); Fri, 30 Aug 2019 00:20:27 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:34606 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfH3EU1 (ORCPT ); Fri, 30 Aug 2019 00:20:27 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7U4Imkw116311; Fri, 30 Aug 2019 04:20:24 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=TZ/nr00KxUvyUvY2Gx6ZLubYK8APHkzshAY5ZuYdA9M=; b=fGcdPCD+8j2YfdzIeUFOHP8H+zIX5B3wTvTZzMM/LvqPv/XMVxEFlaX4yNmECzAxToFi F6BRHY3+jk5+mV54N6qMIWN26U3tw4DA9E9N8vjyvylivVx/1joJSb2r+vGYQEW4xgFl xt5jDm8NeDbjkDZlDGhUuRR8po2vXG6iBKkVxVQ7jnsh5ojEpMEFfi9URXDxfc7CsieO VjzI9nIK+9R4zkOJiDubGqMzeS6kiYthPi6iQJrLnl5sdAcPK7dTUwGn6T63tK/lIoI/ TlBCoZf7dLRHhINOgInYe8Xc0pWsxWvyZyxHjQYi84W6IXeuyRXdS9XLoVgiIEr7wrUf /A== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 2upvjjr100-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Aug 2019 04:20:24 +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 x7U4IfEk094143; Fri, 30 Aug 2019 04:20:23 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 2upc8wbrmp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Aug 2019 04:20:23 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x7U4KMub008373; Fri, 30 Aug 2019 04:20:22 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 29 Aug 2019 21:20:21 -0700 Subject: [PATCH v2 0/9] libxfrog: wrap version ioctl calls From: "Darrick J. Wong" To: sandeen@sandeen.net, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Thu, 29 Aug 2019 21:20:20 -0700 Message-ID: <156713882070.386621.8501281965010809034.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9364 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=920 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908300043 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9364 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=997 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908300043 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi all, This series introduces into libfrog some wrapper functions for the XFS geometry, bulkstat, and inumbers ioctls, then converts the tools to use the new wrappers. This is intended to smooth the transition to the new v5 ioctls that were introduced in kernel 5.3 by providing standard fallback code to the old ioctls on old kernels. 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=libfrog-refactor