From patchwork Sat Mar 5 00:38:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 8508791 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BD95CC0554 for ; Sat, 5 Mar 2016 00:38:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DFCCA2011D for ; Sat, 5 Mar 2016 00:38:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0247320268 for ; Sat, 5 Mar 2016 00:38:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760317AbcCEAim (ORCPT ); Fri, 4 Mar 2016 19:38:42 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:39861 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760188AbcCEAij (ORCPT ); Fri, 4 Mar 2016 19:38:39 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u250cWBN019694 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 5 Mar 2016 00:38:33 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u250cWDc026358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 5 Mar 2016 00:38:32 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u250cWKN026158; Sat, 5 Mar 2016 00:38:32 GMT Received: from localhost (/10.159.166.81) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 04 Mar 2016 16:38:32 -0800 Subject: [PATCH 11/12] xfs: remove NOCOW_FL testing from test From: "Darrick J. Wong" To: david@fromorbit.com, darrick.wong@oracle.com Cc: linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, fstests@vger.kernel.org, xfs@oss.sgi.com Date: Fri, 04 Mar 2016 16:38:30 -0800 Message-ID: <20160305003830.28738.38711.stgit@birch.djwong.org> In-Reply-To: <20160305003717.28738.98818.stgit@birch.djwong.org> References: <20160305003717.28738.98818.stgit@birch.djwong.org> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since XFS dropped support for the NOCOW_FL flag, cut it out of the tests. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- tests/xfs/132 | 5 ----- tests/xfs/132.out | 20 -------------------- 2 files changed, 25 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/xfs/132 b/tests/xfs/132 index f174b3f..b09ccb6 100755 --- a/tests/xfs/132 +++ b/tests/xfs/132 @@ -88,32 +88,27 @@ for i in `seq 2 $nr`; do done _test_cycle_mount free_blocks1=$(stat -f $testdir -c '%f') -lsattr -l $testdir/ | _filter_test_dir | _filter_spaces echo "funshare part of a file" $XFS_IO_PROG -f -c "falloc 0 $((sz / 2))" $testdir/file2 _test_cycle_mount -lsattr -l $testdir/ | _filter_test_dir | _filter_spaces echo "funshare some of the copies" $XFS_IO_PROG -f -c "falloc 0 $sz" $testdir/file2 $XFS_IO_PROG -f -c "falloc 0 $sz" $testdir/file3 _test_cycle_mount free_blocks2=$(stat -f $testdir -c '%f') -lsattr -l $testdir/ | _filter_test_dir | _filter_spaces echo "funshare the rest of the files" $XFS_IO_PROG -f -c "falloc 0 $sz" $testdir/file4 $XFS_IO_PROG -f -c "falloc 0 $sz" $testdir/file1 _test_cycle_mount free_blocks3=$(stat -f $testdir -c '%f') -lsattr -l $testdir/ | _filter_test_dir | _filter_spaces echo "Rewrite the original file" _pwrite_byte 0x65 0 $sz $testdir/file1 >> $seqres.full _test_cycle_mount free_blocks4=$(stat -f $testdir -c '%f') -lsattr -l $testdir/ | _filter_test_dir | _filter_spaces #echo $free_blocks0 $free_blocks1 $free_blocks2 $free_blocks3 $free_blocks4 _within_tolerance "free blocks after reflinking" $free_blocks1 $((free_blocks0 - blks)) $margin -v diff --git a/tests/xfs/132.out b/tests/xfs/132.out index f32db7d..3d1281c 100644 --- a/tests/xfs/132.out +++ b/tests/xfs/132.out @@ -1,30 +1,10 @@ QA output created by 132 Create the original file blocks Create the reflink copies -TEST_DIR/test-132/file1 --- -TEST_DIR/test-132/file2 --- -TEST_DIR/test-132/file3 --- -TEST_DIR/test-132/file4 --- funshare part of a file -TEST_DIR/test-132/file1 --- -TEST_DIR/test-132/file2 --- -TEST_DIR/test-132/file3 --- -TEST_DIR/test-132/file4 --- funshare some of the copies -TEST_DIR/test-132/file1 --- -TEST_DIR/test-132/file2 No_COW -TEST_DIR/test-132/file3 No_COW -TEST_DIR/test-132/file4 --- funshare the rest of the files -TEST_DIR/test-132/file1 No_COW -TEST_DIR/test-132/file2 No_COW -TEST_DIR/test-132/file3 No_COW -TEST_DIR/test-132/file4 No_COW Rewrite the original file -TEST_DIR/test-132/file1 No_COW -TEST_DIR/test-132/file2 No_COW -TEST_DIR/test-132/file3 No_COW -TEST_DIR/test-132/file4 No_COW free blocks after reflinking is in range free blocks after nocow'ing some copies is in range free blocks after nocow'ing all copies is in range