From patchwork Wed Mar 20 00:44:36 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: 10860601 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 3108F15AC for ; Wed, 20 Mar 2019 00:44:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CE8928500 for ; Wed, 20 Mar 2019 00:44:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F20522998B; Wed, 20 Mar 2019 00:44:40 +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 9A71928500 for ; Wed, 20 Mar 2019 00:44:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727084AbfCTAok (ORCPT ); Tue, 19 Mar 2019 20:44:40 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:56984 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfCTAok (ORCPT ); Tue, 19 Mar 2019 20:44:40 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2K0cZXu008238; Wed, 20 Mar 2019 00:44:37 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=QkR+FSB9j/4BsRPLmVvIFRcayWkUCJHnrm7A51J3Z8A=; b=ArWA3Crkj7k7ET9YAfIJ6VX6dsg3yeWvBUNcW63Om26DE7zH30WnGI/sM5K69ngBH7jY J2+AFjQqpqG1PYik7NFosFLY3ufCC7lg1mjtZSd9lA2oV/b9Bd1AV3jgNcO99J7NP3V4 9Ye0k6QntvNcG7o9JdF484UI+vXpINiSyZbo1hrimEn2V0gRUkz360Lh+MO2m+kjiN0m ODp+8+DJQEBJM4NWKqZnvsi2uMM42IY/rK9ND3f8OgC8F932y5ppMuhVGZYOqW4M2Apl x1+Cmg7eQMHJaQdFQ0froTGS+Dy3ByUGGg7zC4yJFCXIpX69/ABjiH+OgJ7MeU17vSR6 DA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2r8pner3w5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Mar 2019 00:44:37 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2K0iaSi014680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Mar 2019 00:44:37 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x2K0iaX5026838; Wed, 20 Mar 2019 00:44:36 GMT Received: from localhost (/10.159.245.168) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Mar 2019 17:44:36 -0700 Subject: [PATCH 00/12] fstests: various fixes From: "Darrick J. Wong" To: guaneryu@gmail.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Date: Tue, 19 Mar 2019 17:44:36 -0700 Message-ID: <155304267647.31707.14180452399822113095.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9200 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903200003 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, Here are a bunch of fixes and some new tests. Patches 1-2 improve the random number algorithm that is used to shuffle the test list when -r is used. Patches 3-6 fix some minor problems with existing tests. Patches 7-8 refactor the code that creates and maintains the cache of populated filesystem images so that we can cache multiple different configurations on the test filesystem, since it is advantageous to be able to populate different configurations without discarding perfectly good images. Patch 9 implements a bunch more reflink corner cases when sharing into or out from a bunch of different types of blocks. Patch 10 ensures that xfs_copy and xfs_metadump can deal with all types of xfs metadata. Patch 11-12 wipe the scratch devices between tests and fix the tests that erroneously expected the scratch devices to contain anything. 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 kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=djwong-devel xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=djwong-devel fstests git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=djwong-devel