Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp7012350imm; Sun, 20 May 2018 16:22:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpfgbX3RKd4mFwCSqGIaL+74VYMorzVU0dtSTkNjP3hwJlqx32/FAchiMznjPs0eeOA0gFz X-Received: by 2002:a62:568f:: with SMTP id h15-v6mr17867964pfj.131.1526858562815; Sun, 20 May 2018 16:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526858562; cv=none; d=google.com; s=arc-20160816; b=g4AJs3iEcv/uejtxbceyaEPjMOIIX2f0vpp4uBclsd5x1b/QBxhnOeS1J2i9dRBaN8 Ni9SwZAwnS45YiShqKjgR5fjUfPN5bWS5lN8HEKVjQMQdvbwiXKyTWjVY6vMWNOuq0/V nSd4IUSBZPXF0+1h5rDLUiToGoKLZ+5Y4NGfpbhtrm8pCYLw8u/UDUg6V1hIOCr9eBEL ChSIaNcIL7NATiNa3pyVLuYvvymFD9rzuGinrZxke4UIbJwqz2p/zRLRDHOfqby8Cqvv VSFPrOsTfmPFWHoo/VOMTQjD7CjsoD/do9ewwYVlWViMnAz81ab0vphSu6up8AKm/IkX JlRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=CJHVIazsNjo9D0SghLaeIACiNb75SleyytTIpy7yCQc=; b=kCE7CDs8bqBgA6twhiZ2V2VPW7hps4L4/qecUHlovqI1zR0MnhhkcyxmZUu6IYA84r jh12xkuaGbLyoDzNnYInhXEaMuZU7mCVH0fSqESINqUHt7JvGnx53c75QiMY6ALa4Ran 2frcNcKazFSzXFthWC9XzocVyvl7jWTqTuBuvOlDpUAFLCeet3Knaj2gZt723Nx9t2Kz /3Mm315QhGmEkxzpS5EgYkJfOzdEzihvvNtLsFPGEt7joAAlPtNO70eoaSzOeFL6oEIn XtEENmH+/a5LYwOFH0oFk/8uF6NFwRSP5pmWSp0l1s1c+U10i3Dd8WoxJvUBGpNmyGMh ixVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EabpRx/H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6-v6si10300264pgc.509.2018.05.20.16.21.57; Sun, 20 May 2018 16:22:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EabpRx/H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752569AbeETXVq (ORCPT + 99 others); Sun, 20 May 2018 19:21:46 -0400 Received: from mail-qt0-f176.google.com ([209.85.216.176]:33965 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbeETXVn (ORCPT ); Sun, 20 May 2018 19:21:43 -0400 Received: by mail-qt0-f176.google.com with SMTP id m5-v6so16928325qti.1; Sun, 20 May 2018 16:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CJHVIazsNjo9D0SghLaeIACiNb75SleyytTIpy7yCQc=; b=EabpRx/HIdbZSuUfXWOC20spUWNgLl1nKg6nWuMb7fhPkx8w/12BWr9H7X4ZhhSyaJ 227RN33jfPkLCUhXMMRz3Ha8STZvdRQNXrHw+g4BPCNxNSxk2msKA+/+DMOAoBW63szs 2gnVMLiuUejxs0N7mwhvm9jcM2oimVC5mYzooQP0C1s8rJQbSVJl5zzpYiD9zBCmUELe moyp5uMhzgoVkXSjHvIO+nLpcFg76dveBYkd1PlNDh0VeCS+PzFawo6S1kcQDCyAX86Z KovTdISsskbxCBFKWF8AjJSquTBfGgwkrZc3bfVC5cWHmr/PPMnUT2JNLdT8PYd46vNx 5TlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CJHVIazsNjo9D0SghLaeIACiNb75SleyytTIpy7yCQc=; b=qnfP6xORsXjrVP8FKnt//zyyqLiZLpaSh5cFoEntOF0sXSlvecAZmbT/R9+ue0uD8c +GrcdlcKeyNE7BKnOI9EBZbjf5DKV1tsaHnD1KMT1H8VkM2zYZ3hwGuGMHckmDwocaJG ddWU98FFBLZv3z48rdGfzkkOkUuyV5B7jfK+A3LHW7zV0znKtIElqaVHblyunA3x+Qkt pCWzmGcL3knzWX+JCNEj2uMkSYe3yBHNGY1Jm4al4LPMPWQwTNoKnaySTPzFSJN5Aw86 P7+IjHsW0f7Ey3F0wwG90rKNwldSZF6KBs2V1s4qXg6ADRnfoyvIcl0KevDhpwMb39xz +C6g== X-Gm-Message-State: ALKqPwfb7OgClhaGQquLdhfHxx6ZeUdv0t/Mxp59eULbr36ZUV1HK3lH r4rcB7fTJ7exUZiOnCOXEg== X-Received: by 2002:a0c:d2b1:: with SMTP id q46-v6mr15755907qvh.172.1526858502778; Sun, 20 May 2018 16:21:42 -0700 (PDT) Received: from kmo-pixel (c-71-234-172-214.hsd1.vt.comcast.net. [71.234.172.214]) by smtp.gmail.com with ESMTPSA id 1-v6sm10430750qkw.12.2018.05.20.16.21.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 May 2018 16:21:41 -0700 (PDT) Date: Sun, 20 May 2018 19:21:39 -0400 From: Kent Overstreet To: Bart Van Assche Cc: "mingo@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "linux-block@vger.kernel.org" , "axboe@kernel.dk" Subject: Re: [PATCH 00/10] Misc block layer patches for bcachefs Message-ID: <20180520232139.GE11495@kmo-pixel> References: <20180509013358.16399-1-kent.overstreet@gmail.com> <20180518090636.GA14738@kmo-pixel> <8f62d8f870c6b66e90d3e7f57acee481acff57f5.camel@wdc.com> <20180520221733.GA11495@kmo-pixel> <20180520223116.GB11495@kmo-pixel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 20, 2018 at 10:35:29PM +0000, Bart Van Assche wrote: > On Sun, 2018-05-20 at 18:31 -0400, Kent Overstreet wrote: > > On Sun, May 20, 2018 at 10:19:13PM +0000, Bart Van Assche wrote: > > > On Sun, 2018-05-20 at 18:17 -0400, Kent Overstreet wrote: > > > > On Fri, May 18, 2018 at 03:12:27PM +0000, Bart Van Assche wrote: > > > > > On Fri, 2018-05-18 at 05:06 -0400, Kent Overstreet wrote: > > > > > > On Thu, May 17, 2018 at 08:54:57PM +0000, Bart Van Assche wrote: > > > > > > > With Jens' latest for-next branch I hit the kernel warning shown below. Can > > > > > > > you have a look? > > > > > > > > > > > > Any hints on how to reproduce it? > > > > > > > > > > Sure. This is how I triggered it: > > > > > * Clone https://github.com/bvanassche/srp-test. > > > > > * Follow the instructions in README.md. > > > > > * Run srp-test/run_tests -c -r 10 > > > > > > > > Can you bisect it? I don't have infiniband hardware handy... > > > > > > Hello Kent, > > > > > > Have you noticed that the test I described uses the rdma_rxe driver and hence that > > > no InfiniBand hardware is needed to run that test? > > > > No, I'm not terribly familiar with infiniband stuff.... > > > > Do you have some sort of self contained test/qemu recipe? I would really rather > > not have to figure out how to configure multipath, and infiniband, and I'm not > > even sure what else is needed based on that readme... > > Hello Kent, > > Please have another look at the srp-test README. The instructions in that document > are easy to follow. No multipath nor any InfiniBand knowledge is required. The test > even can be run in a virtual machine in case you would be worried about potential > impact of the test on the rest of the system. I really have better things to do than debug someone else's tests... Restarting multipath-tools (via systemctl): multipath-tools.service. multipathd> reconfigure ok multipathd> make -C discontiguous-io discontiguous-io make[1]: Entering directory '/host/home/kent/ktest/tests/srp-test/discontiguous-io' make[1]: 'discontiguous-io' is up to date. make[1]: Leaving directory '/host/home/kent/ktest/tests/srp-test/discontiguous-io' Unloaded the ib_srpt kernel module Unloaded the rdma_rxe kernel module ../run_tests: line 65: cd: /lib/modules/4.16.0+/kernel/block: No such file or directory Zero-initializing /dev/ram0 ... done Zero-initializing /dev/ram1 ... done Unable to load target_core_pscsi Unable to load target_core_user Configured SRP target driver Running test ../tests/01 ... Unloaded the ib_srp kernel module SRP login failed Test ../tests/01 failed Running test ../tests/02-mq ... Test file I/O on top of multipath concurrently with logout and login (10 min; mq) Unloaded the ib_srp kernel module SRP login failed Test ../tests/02-mq failed Running test ../tests/02-sq ... Test file I/O on top of multipath concurrently with logout and login (10 min; sq) Unloaded the ib_srp kernel module SRP login failed Test ../tests/02-sq failed Running test ../tests/02-sq-on-mq ... Test file I/O on top of multipath concurrently with logout and login (10 min; sq-on-mq) Unloaded the ib_srp kernel module SRP login failed Test ../tests/02-sq-on-mq failed Running test ../tests/03-4M ... Test direct I/O with large transfer sizes and cmd_sg_entries=255 Unloaded the ib_srp kernel module SRP login failed Test ../tests/03-4M failed Running test ../tests/03-8M ... Test direct I/O with large transfer sizes and cmd_sg_entries=255 Unloaded the ib_srp kernel module SRP login failed Test ../tests/03-8M failed Running test ../tests/04-4M ... Test direct I/O with large transfer sizes and cmd_sg_entries=1 Unloaded the ib_srp kernel module SRP login failed Test ../tests/04-4M failed Running test ../tests/04-8M ... Test direct I/O with large transfer sizes and cmd_sg_entries=1 Unloaded the ib_srp kernel module SRP login failed Test ../tests/04-8M failed Running test ../tests/05-4M ... Test buffered I/O with large transfer sizes and cmd_sg_entries=255 Unloaded the ib_srp kernel module SRP login failed Test ../tests/05-4M failed Running test ../tests/05-8M ... Test buffered I/O with large transfer sizes and cmd_sg_entries=255 Unloaded the ib_srp kernel module SRP login failed Test ../tests/05-8M failed Running test ../tests/06 ... Test block I/O on top of multipath concurrently with logout and login (10 min) Unloaded the ib_srp kernel module SRP login failed Test ../tests/06 failed 0 tests succeeded and 11 tests failed Unloaded the ib_srpt kernel module Unloaded the rdma_rxe kernel module ========= PASSED srp in 18s