Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1494302pxu; Thu, 8 Oct 2020 12:56:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWG3xjKPtESDI+hiA9MXnOZHpkwtkjltaTHApFU+49zQ0ZwpkB2LdvJjyjX/9W8eP4sccH X-Received: by 2002:a17:906:5e44:: with SMTP id b4mr10792660eju.211.1602186979277; Thu, 08 Oct 2020 12:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602186979; cv=none; d=google.com; s=arc-20160816; b=oopYYlL/Nmbykk1D/KHK+fcFW+iNfKAUPUKn0qAqLKhvQakA9l8uxEzrRb9eK5Wx80 EyTGgl1B1miHMqkPpPvgsEz4l6+Gii9QPfvHMIcV7V5pQnBKsMfwm4QHmp00VGL0GNis OCLp/DXzcMy+oy5/GsjLlc+LlPOnTQ1ugzUHVYW6rJEg+vNCfTowshy5PZTkJ08Ak/sw GYF81SkJbP3prCMsfIjt6ZH6CxiEuOAMgid1/tKY0zVp880vJmhq9wtJN+8n+X+lLMBL Zjg8tVh49jrwlJ++WZ3C8+yNE4uIKEkZ3+zvJ0jdVVZj+aA/op5ll823RkTZn6BeECtF 8qZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :message-id:date:cc:to:from:dkim-signature; bh=tyFGCWU6L6lDBY3zLY1rfePLMMRW/v3T/hGVwL8WZnY=; b=A8lO2uivIRZu0nPhd6HoTAt77xgtSfLFkBzbegx3b6l4EnIuEHIfuyiux6iIhvpaPi cJZ1T/03FYMcHUCS8FGYlHI3Zn4WErsJkcVCqGpZaF1F4iolZXgztLZdKjUsNjR8yf5N SWranh/tdjkp4Zs80hCfAMnl+fPiExUVfvcZlt5htLVC+JUJV2tuWGUaJl2pHkT4gd7Z GJnRFgBXqkf8hL2s/2tP8+5LgJ8+GlXbCtWReMdg3wDllfg7kE/hWs3m9d0XlQXa/0Hg a7Nno3+rKHgOK8i1AHKTUiyYnbfgCFNonf79TBLS45mtyoHuOVlrLXZmPzUIWjjtzgon q71w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=fLcIjlv5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck29si4158171edb.267.2020.10.08.12.55.56; Thu, 08 Oct 2020 12:56:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=fLcIjlv5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729280AbgJHQkd (ORCPT + 99 others); Thu, 8 Oct 2020 12:40:33 -0400 Received: from ale.deltatee.com ([204.191.154.188]:48794 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbgJHQkd (ORCPT ); Thu, 8 Oct 2020 12:40:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tyFGCWU6L6lDBY3zLY1rfePLMMRW/v3T/hGVwL8WZnY=; b=fLcIjlv5U0a6Bu7IdnvtONnG51 0+0ExI436um7EWaC5+iRkecbPtKZ8v3leJB5C/djsCzsMoaATmNYPpwdnXjsntysrUrSOnSKLf5q/ xr/IzuNMSlWK3ybkenKVGPNjtH4q5VONjWBDLs001Zgos9k7fH85UPXJDvxGNO+OZ8Cn8yusECHDh IXqG+frSwwscmjuuWYTn1WjVZ6Y4BTl0ZJQuKrLkUaUfgHSH+UEyuie6H32TBA5vz04dlPHJ+G8WT 5jVxpqDBDUJcSlXFB31bru8LoJ6UhJ/ZHY0Hy+Xh0D2R6Ic/3te7I1+FYX95QSAl2gbQTPr/NfM4U pov27J9A==; Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQYxz-0000if-Pp; Thu, 08 Oct 2020 10:40:32 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.92) (envelope-from ) id 1kQYxy-0003HG-Lm; Thu, 08 Oct 2020 10:40:30 -0600 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Omar Sandoval Cc: Sagi Grimberg , Chaitanya Kulkarni , Stephen Bates , Logan Gunthorpe Date: Thu, 8 Oct 2020 10:40:13 -0600 Message-Id: <20201008164024.12546-1-logang@deltatee.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, osandov@osandov.com, sagi@grimberg.me, Chaitanya.Kulkarni@wdc.com, sbates@raithlin.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-6.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, MYRULES_NO_TEXT autolearn=no autolearn_force=no version=3.4.2 Subject: [PATCH blktests v3 00/11] NVMe Target Passthru Block Tests X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds blktests for the nvmet passthru feature that was merged for 5.9. It's been reconciled with Sagi's blktest series that Omar recently merged. This series is based off of the current blktests master and a git repo is available for this here: https://github.com/Eideticom/blktests nvmet_passthru_v3 Thanks, Logan -- Changes in v3: - Fixed a nit with variable initialization in patch 5 (per Chaitanya) - Replaced use of printf with echo (per Chaitanya) Changes in v2: - Rebased on latest blktests master and changed to use the common helpers Sagi introduced in his series - Collected Chaitanya's reviewed-by tag -- Logan Gunthorpe (11): common/fio: Remove state file in common helper common/xfs: Create common helper to check for XFS support common/xfs: Create common helper to verify block device with xfs nvme: Search for specific subsysnqn in _find_nvme_loop_dev nvme: Add common helpers for passthru tests nvme/033: Simple test to create and connect to a passthru target nvme/034: Add test for passthru data verification nvme/035: Add test to verify passthru controller with a filesystem nvme/036: Add test for testing reset command on nvme-passthru nvme/037: Add test which loops passthru connect and disconnect nvme/038: Test removal of un-enabled subsystem and ports common/fio | 1 + common/rc | 8 +++++ common/xfs | 33 +++++++++++++++++++ tests/nvme/004 | 2 +- tests/nvme/005 | 2 +- tests/nvme/008 | 2 +- tests/nvme/009 | 2 +- tests/nvme/010 | 3 +- tests/nvme/011 | 3 +- tests/nvme/012 | 23 ++++--------- tests/nvme/013 | 21 +++--------- tests/nvme/014 | 2 +- tests/nvme/015 | 2 +- tests/nvme/018 | 2 +- tests/nvme/019 | 2 +- tests/nvme/020 | 2 +- tests/nvme/021 | 2 +- tests/nvme/022 | 2 +- tests/nvme/023 | 2 +- tests/nvme/024 | 2 +- tests/nvme/025 | 2 +- tests/nvme/026 | 2 +- tests/nvme/027 | 2 +- tests/nvme/028 | 2 +- tests/nvme/029 | 2 +- tests/nvme/033 | 67 +++++++++++++++++++++++++++++++++++++ tests/nvme/033.out | 7 ++++ tests/nvme/034 | 35 ++++++++++++++++++++ tests/nvme/034.out | 3 ++ tests/nvme/035 | 37 +++++++++++++++++++++ tests/nvme/035.out | 3 ++ tests/nvme/036 | 37 +++++++++++++++++++++ tests/nvme/036.out | 3 ++ tests/nvme/037 | 35 ++++++++++++++++++++ tests/nvme/037.out | 2 ++ tests/nvme/038 | 36 ++++++++++++++++++++ tests/nvme/038.out | 2 ++ tests/nvme/rc | 82 ++++++++++++++++++++++++++++++++++++++++++++-- 38 files changed, 419 insertions(+), 58 deletions(-) create mode 100644 common/xfs create mode 100755 tests/nvme/033 create mode 100644 tests/nvme/033.out create mode 100755 tests/nvme/034 create mode 100644 tests/nvme/034.out create mode 100755 tests/nvme/035 create mode 100644 tests/nvme/035.out create mode 100755 tests/nvme/036 create mode 100644 tests/nvme/036.out create mode 100755 tests/nvme/037 create mode 100644 tests/nvme/037.out create mode 100755 tests/nvme/038 create mode 100644 tests/nvme/038.out base-commit: 20445c5eb6456addca9131ec6917d2a2d7414e04 -- 2.20.1