From patchwork Thu Dec 20 18:18:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Zhou X-Patchwork-Id: 10739273 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 4DF84746 for ; Thu, 20 Dec 2018 18:18:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C20328DA5 for ; Thu, 20 Dec 2018 18:18:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2EB7A28DE2; Thu, 20 Dec 2018 18:18:32 +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 C751928DA5 for ; Thu, 20 Dec 2018 18:18:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731379AbeLTSSb (ORCPT ); Thu, 20 Dec 2018 13:18:31 -0500 Received: from mail-yw1-f65.google.com ([209.85.161.65]:45962 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730897AbeLTSSa (ORCPT ); Thu, 20 Dec 2018 13:18:30 -0500 Received: by mail-yw1-f65.google.com with SMTP id d190so1041955ywd.12 for ; Thu, 20 Dec 2018 10:18:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YyRuqjnW4LfNozhJsM7mwJlgob5Pj0wj7b6QRgp6XXM=; b=tJSsmO4Y99IDopu3FdzH4DyiYKKcWt7MRzAvCKz+8P6TLRydZMaqlIKk/pPdegeVDp v/YEJdJHM4vttKt8K8n1r2AuUH6D7Swd8TdMI3lywB549R7NHRKcWnHTiYekJ7bYWPAF qNFSvR12lSMwFWoBP5352ywzJGG+w0kzod/iNjL+7eIu6rIpOMuXRXSGAYqGXjh4iOke XbYrFdan8E+XIbzyIvU4Jg6gQ1O0WDZN6BzvVjkBVPkwzLJ/wWO+EFBPzSSzFrPEMWi9 DQbg9PuTP0BRYSyz9es3rbN+sJqM88OBEp3k9zNmS/utVVqLYx+ohL3bcOFANTvUzLF8 LiwQ== X-Gm-Message-State: AA+aEWZtdrIyo6QmN7M62KUyy8DJA9l5nMvt6WODLb+AfqwPfRpRtDgN UAFZYnSaeNrP30fowbn6HSKrti4TB30= X-Google-Smtp-Source: AFSGD/XtFSsPNhIZbXAPReKrX2PObMHhD+6BmbLjQ9iW5U7UPXO9jcgSXEXIb2UBsVnYggppFLeHQw== X-Received: by 2002:a81:a748:: with SMTP id e69mr26753005ywh.309.1545329909972; Thu, 20 Dec 2018 10:18:29 -0800 (PST) Received: from dennisz-mbp.thefacebook.com ([199.201.65.2]) by smtp.gmail.com with ESMTPSA id q185sm7115113ywe.87.2018.12.20.10.18.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Dec 2018 10:18:28 -0800 (PST) From: Dennis Zhou To: Omar Sandoval , Ming Lei Cc: kernel-team@fb.com, linux-block@vger.kernel.org, Dennis Zhou Subject: [PATCH blktests v2 0/2] Add scsi-stress-remove to blktests Date: Thu, 20 Dec 2018 12:18:24 -0600 Message-Id: <20181220181826.55481-1-dennis@kernel.org> X-Mailer: git-send-email 2.13.5 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 Hi, v2: There was a minor typo in 0001 pointed out by Omar which I fixed here. 0002 was refactored to use common/scsi_debug. I also rebased onto the top of osandov#josef changing the test from block/022 -> block/027. From v1: Ming Lei's scsi-stress-remove test found a bug in blkg destruction [1] where bios being created when the request_queue was being cleaned up threw a NPE in blkg association. The fix is currently being discussed in [2]. To make this test more accessible, I've ported it to blktests with Ming Lei's copyright. I've tested this in my qemu instance and verified we do not see the NPE on a fixed kernel. Ming, please let me know if you have any objections. [1] https://lore.kernel.org/linux-block/CACVXFVO_QXipD3cmPvpLyBYSiEcWPN_ThQ=0pO9AwLqN-Lv93w@mail.gmail.com [2] https://lore.kernel.org/lkml/20181211230308.66276-1-dennis@kernel.org/ This patchset is ontop of osandov#josef 98db2e11c97f. diffstats below: Dennis Zhou (2): blktests: split out cgroup2 controller and file check blktests: add Ming Lei's scsi-stress-remove common/cgroup | 18 +++++++---- tests/block/027 | 73 +++++++++++++++++++++++++++++++++++++++++++++ tests/block/027.out | 2 ++ 3 files changed, 88 insertions(+), 5 deletions(-) create mode 100755 tests/block/027 create mode 100644 tests/block/027.out Thanks, Dennis