From patchwork Thu Jan 10 09:37:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shin'ichiro Kawasaki X-Patchwork-Id: 10755449 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 6FB0B1399 for ; Thu, 10 Jan 2019 09:38:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626F129296 for ; Thu, 10 Jan 2019 09:38:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 565C7292D3; Thu, 10 Jan 2019 09:38:05 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 03C8A292D2 for ; Thu, 10 Jan 2019 09:38:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727906AbfAJJiE (ORCPT ); Thu, 10 Jan 2019 04:38:04 -0500 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:25557 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727780AbfAJJiE (ORCPT ); Thu, 10 Jan 2019 04:38:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1547113086; x=1578649086; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NWBGjS2c3O5GeVg7/WntRTuwCdCNJ7t0rStpgraWiQE=; b=opR81UvaS+oqpVLZ3r1EtcoszYrtIg45pxBiPWPtLWCnXi/N25vpbw+K 8yjY2oCIh1HOYgOQ41utM9USIfTZWamYmNDMZKo16o7vMAd/RjuUrbGL+ RdIL1g5e4HQSGz6CEoKviIbyST4PoBqWp5dtOJTVYoMsNJnHABRoNVNib MQkohR2wGbzRLz4uA8Vv90PML949lPp15752lMHU4WBGHp/Y+8hVlpNEA MxcON3hzS900VsnIYnGkMNR1/QuH1Rl8K1cdUhNpnu0A6/+PA1f4c9o3U YVmt7pvDJew5o8V7puyO/8oG0TpPluBg7FckHeeYnN2AHc/U2gK6TnRNC w==; X-IronPort-AV: E=Sophos;i="5.56,460,1539619200"; d="scan'208";a="196468984" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 10 Jan 2019 17:38:44 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP; 10 Jan 2019 01:19:30 -0800 Received: from shin_dev.dhcp.fujisawa.hgst.com (HELO shin_dev.fujisawa.hgst.com) ([10.149.52.166]) by uls-op-cesaip01.wdc.com with ESMTP; 10 Jan 2019 01:37:56 -0800 From: Shin'ichiro Kawasaki To: linux-block@vger.kernel.org, Omar Sandoval , Masato Suzuki , Shinichiro Kawasaki Cc: Omar Sandoval , Jens Axboe , Matias Bjorling , Hannes Reinecke , Mike Snitzer , "Martin K . Petersen" , Chaitanya Kulkarni Subject: [PATCH blktests v2 07/16] block/018,024: Skip when ZONED is set Date: Thu, 10 Jan 2019 18:37:16 +0900 Message-Id: <20190110093725.32675-8-shinichiro.kawasaki@wdc.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190110093725.32675-1-shinichiro.kawasaki@wdc.com> References: <20190110093725.32675-1-shinichiro.kawasaki@wdc.com> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These tests do not execute a purely sequential write pattern which will cause I/O failures when ZONED is set and null_blk is created with zoned mode. Skip the tests in such case. Signed-off-by: Shin'ichiro Kawasaki --- tests/block/018 | 2 +- tests/block/024 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/block/018 b/tests/block/018 index 7312723..3c1eca4 100755 --- a/tests/block/018 +++ b/tests/block/018 @@ -11,7 +11,7 @@ DESCRIPTION="do I/O and check iostats times" QUICK=1 requires() { - _have_null_blk + _have_null_blk && _null_blk_not_zoned } init_times() { diff --git a/tests/block/024 b/tests/block/024 index cf14707..c8dd1f7 100755 --- a/tests/block/024 +++ b/tests/block/024 @@ -13,7 +13,7 @@ DESCRIPTION="do I/O faster than a jiffy and check iostats times" QUICK=1 requires() { - _have_null_blk + _have_null_blk && _null_blk_not_zoned } init_times() {