From patchwork Fri Jun 22 21:38:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Fasheh X-Patchwork-Id: 10483063 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 84145602CB for ; Fri, 22 Jun 2018 21:38:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FD0A287BB for ; Fri, 22 Jun 2018 21:38:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64924287BF; Fri, 22 Jun 2018 21:38:46 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 E9146287BB for ; Fri, 22 Jun 2018 21:38:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754260AbeFVVip (ORCPT ); Fri, 22 Jun 2018 17:38:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:41762 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbeFVVip (ORCPT ); Fri, 22 Jun 2018 17:38:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B942FACFF for ; Fri, 22 Jun 2018 21:38:43 +0000 (UTC) Date: Fri, 22 Jun 2018 23:38:43 +0200 From: Mark Fasheh To: fstests@vger.kernel.org Subject: [PATCH] btrfs/149: don't run if PAGE_SIZE > 4096 Message-ID: <20180622213843.GF28053@wotan.suse.de> Reply-To: Mark Fasheh MIME-Version: 1.0 Content-Disposition: inline Organization: SUSE Labs User-Agent: Mutt/1.6.0 (2016-04-01) Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The test assumes a 4K block size and fails on larger block sizes - the extent layout will not match and the reflink command will fail. Signed-off-by: Mark Fasheh --- tests/btrfs/149 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/btrfs/149 b/tests/btrfs/149 index 3e955a30..64bc8ac3 100755 --- a/tests/btrfs/149 +++ b/tests/btrfs/149 @@ -37,6 +37,12 @@ _require_scratch _require_scratch_reflink _require_odirect +# Test output will not match results if page size > 4096 +PAGE_SIZE=`getconf PAGE_SIZE` +if [ $PAGE_SIZE -gt 4096 ]; then + _notrun "Not supported with page size > 4096" +fi + send_files_dir=$TEST_DIR/btrfs-test-$seq rm -f $seqres.full