From patchwork Fri May 31 01:59:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shinichiro Kawasaki X-Patchwork-Id: 10969443 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 047226C5 for ; Fri, 31 May 2019 01:59:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBA5A28C3E for ; Fri, 31 May 2019 01:59:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBB5C28BFE; Fri, 31 May 2019 01:59:18 +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 6DBA128BFE for ; Fri, 31 May 2019 01:59:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbfEaB7Q (ORCPT ); Thu, 30 May 2019 21:59:16 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:19074 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfEaB7Q (ORCPT ); Thu, 30 May 2019 21:59:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1559267956; x=1590803956; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=caXR27Perknm5d3QFDsnYvbVhC1Cr/FM6uFGdBvEOfw=; b=MzD++9bQit/rNqR5C/rRY6qDlwX23/rdywboBFIdUuNc091l3yUv9Asw HK9U8h9KfvzUxEzcUsrnX3kWBOxf84kjIiiLnzPA3STWR7eN4dF1BxoYJ A6WOP3qduQ6GwyOi4SI4aWlfCps/9vvwtz+eu8HoBMR/KOFdtdYsXYQqb kfnwwKq6IkSLKbqSFJxWNu/fSDg7mmmS/URYj5ea9eoUwuWWejHbQrZiV K20AsUKnpHsnIOgyf4x7qL2zV+6mXqQHI2RotsiZkcvnXAX0VLUkB0m8b ztBr4azZ1CLiU/9HZnqd7ZvHMzLTZIL5dwVRW9qZuPetDNF/Dm1Em/pGv Q==; X-IronPort-AV: E=Sophos;i="5.60,533,1549900800"; d="scan'208";a="111145549" 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; 31 May 2019 09:59:15 +0800 IronPort-SDR: 0zfszn0l/8gDvYLAshReLG9yg85KHyrCkNklS9LrNch6GqEfnZZRzXGXid+MVlLtOLc5d4WY3j 3H6BdkvKaqu1z29yB/FgKqO7MMzr285ULV5kEQU9hsOdlQqplPDspSi8IXSqytkVMiIBl0Dy6F 5ur6ETxLwxU0n6jv5B1CCLKdvHsFvMjrSTdziAqEw3yFkXFpD/5BpfoAQz96lzLexA2ug8prQ2 ZJXjAV8vFjYzimvJvDMAnxqoKXq0G/+BqRClc7bPymtpC00P3OQpdoTTalUh4jeX0phlJlyQCU eYX5mrXXjePHGmeVYQ5p49iN Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP; 30 May 2019 18:36:44 -0700 IronPort-SDR: snFo6R99hi6WOibX3frCkzHFLwq9/vBY/okHt9pRQ4mM7PXdBZsG0ZLOe0LW9jDyWjB0dk5RhT Ku9eUjXszCR1OZsSsfdn08ZOKmMmo/IfISybSqtmogFMKDvoj0uCC3oVVPessGIqnKiTA0+l18 +4m5peDKJlK2FfM3zdfNnolPxnnEvET176zHwrS49ku6IfXiIvote5+yqRfh69ObK7lKJcQMrB LP5FTZK76Kq0asw9hojU7EZWML8rtjFhvC8m/GYdJMCIYapRbI6ZvxA9zyDUeEuVIrm9cJfJ6R DhU= Received: from shindev.dhcp.fujisawa.hgst.com (HELO shindev.fujisawa.hgst.com) ([10.149.52.166]) by uls-op-cesaip01.wdc.com with ESMTP; 30 May 2019 18:59:14 -0700 From: Shin'ichiro Kawasaki To: linux-block@vger.kernel.org, Omar Sandoval Cc: Shinichiro Kawasaki , Masato Suzuki , Damien Le Moal , Omar Sandoval , Chaitanya Kulkarni Subject: [PATCH blktests v2 0/2] Test zone mapping of logical devices Date: Fri, 31 May 2019 10:59:11 +0900 Message-Id: <20190531015913.5560-1-shinichiro.kawasaki@wdc.com> X-Mailer: git-send-email 2.21.0 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 Add a test case to zbd group to check that zones sector mapping correctness for zoned block devices that are not an entire full device (null_block device or physical device). These logical devices are for now partition devices or device-mapper devices (dm-linear or dm-flakey). Changes from v1: * Reflected Chaitanya's review comments on the list * Separated helper functions in zbd/rc into a preparation patch Shin'ichiro Kawasaki (2): zbd/rc: Introduce helper functions for zone mapping test zbd/007: Add zone mapping test for logical devices tests/zbd/007 | 110 ++++++++++++++++++++++++++++++++++++++ tests/zbd/007.out | 2 + tests/zbd/rc | 133 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 245 insertions(+) create mode 100755 tests/zbd/007 create mode 100644 tests/zbd/007.out