Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1179665ybi; Fri, 12 Jul 2019 11:03:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmzsNbNqvBfki/UcFzpaEa0wnYfkTPz/TK50OCwEEHlAhwJuHD/5e9SREp/WzCODB7sHFp X-Received: by 2002:a17:902:6a87:: with SMTP id n7mr12854399plk.336.1562954630974; Fri, 12 Jul 2019 11:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562954630; cv=none; d=google.com; s=arc-20160816; b=oY8BhnoU7mwp5MGB0pC5PgKmRT6qskrsRgRG3snxws+MKhEoq6rt5/iplBhA4YvMjR dATqBtwMrFEpvTVSGicW1vr1GKL4PWtVpMgHo5Ei9vbEABrWVtysn5jw6LxGFiT0R295 F8yprday3GER6tkdUj2rtVRWKwemOdDmwKuEHhLJcFyi8fJH3NmfySWWsP+6r8ODslRT EL/RsHyPCeHqdZYFgnSKM6DCxbQVP/OOJSIR70WnakDKbMH0kKoJnQWGRI0zS8og9pLe PNK7N81K59yOIa9BhpcPuT28kEgXXFipCmGmh+7bpaoxVeX4a56Ce9w+oZq2L/IKcwPQ /6iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WBDRsvz9ghxcV0Hcoa1x+QL3bWdcbA0vWkPF5MxrNM0=; b=jexvfmNGtRvaTfzi+CVoPD6lTpHS7XSn+WC2Jr6wz2tO1+B6PrUeUENKGCJPSKJIYC Jzor9DdcO6i5RkI/3T9s7X5fKEpb1xUhKCRlI9JdBdsPDczURNwLxLxzTIwqPHiCUkg5 HtvrE8Apre3w5BotFCgm8XVrv7c5HJFifRKQwKEaldaCagXNynpF7XStXgr0lpe7eYZt gBH4YInhdnzjlI0oxNjqDQw/3DY6R9n/4/Tn/myPxoF50G/CC2XFntrN1nyCWjpOnIEk Ew8/GVrKGPn2Uv/jC6ztbGdij+t0pqR+xWaTJuGjivWFCqs8z5yGgZRvzd2kkXf53LBu YhHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=Db+g8Z6E; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13si8933511pfa.17.2019.07.12.11.03.25; Fri, 12 Jul 2019 11:03:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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=@umich.edu header.s=google-2016-06-03 header.b=Db+g8Z6E; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726628AbfGLSCt (ORCPT + 99 others); Fri, 12 Jul 2019 14:02:49 -0400 Received: from mail-vs1-f46.google.com ([209.85.217.46]:44011 "EHLO mail-vs1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727031AbfGLSCt (ORCPT ); Fri, 12 Jul 2019 14:02:49 -0400 Received: by mail-vs1-f46.google.com with SMTP id j26so7235714vsn.10 for ; Fri, 12 Jul 2019 11:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WBDRsvz9ghxcV0Hcoa1x+QL3bWdcbA0vWkPF5MxrNM0=; b=Db+g8Z6E+zsA+fHarRdbdSgRWXQs9UWdeXHh7qvGhPBQ+37Q/DH9Wn7NyYb3XaKuDB 5c7gXKS3aUPr56QyJ4AG03JfSagh1VGqRE6degr2UbCoRjgrKc66QxGKpLm16bkhHnrs v0v23htR8wT5S/n1C09mrv223so9yNHshZlzH6zP9Y+tcCpN9oO/aAMCVhS0APISoKT8 vTfvCQeAt5DgjwNdQYpCzLK1u5C+VmHAf1M3806ghJexbkTVtqD573yIRE25TBKc4aXg 9uNTmtgJCL+3Km5DHy9zqtn/W+oiIEOmWrlG6xsZxYcO85b3jv13CpDcQeluo9t/myWz J3xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WBDRsvz9ghxcV0Hcoa1x+QL3bWdcbA0vWkPF5MxrNM0=; b=MwW+Ntsen1CTbxCTOPC4skUYL8eFyFqzuJynFAoVGsFyCpAwvLf2MF/aUKMH3lR13o 7BtNSsWducxNBxhGvV0UcJhE8Jgw7z5rH0iTLUnFMUHnY461jQqLCQTAmaME3o0K3VE/ igs7YhYRE5kKvJKY6YDG9c9Pxzia2W19D4EwZbxNAiBnHhx5mhL1fKvMmiywwNJRGB9P WIke2RNsHYqhQ0I0HCs1X7DBtVXs+KcxR9wu4YDaX5YB4DBRwjo4IoA/XMwe/e2vDBnM T5EQrSgWZzj1ARxTSIzJBIJX+yBdyKdQfXao9OzpAgKi2oOOsNWiNhYhX/IqeX2tqWD/ 10vw== X-Gm-Message-State: APjAAAVLSlQ02MMLl11d5wHMokCsV6BiKJeSyjILTt8BdkFtCw4vBCqZ h3qjfJowWCF7uiU/j7CeC/v9Uan8DgCUZBH1tB8zuw== X-Received: by 2002:a67:8907:: with SMTP id l7mr9725186vsd.194.1562954567883; Fri, 12 Jul 2019 11:02:47 -0700 (PDT) MIME-Version: 1.0 References: <1d019c416f69aa7f3ba7fed3bcfd4c08088fba57.camel@hammerspace.com> In-Reply-To: From: Olga Kornievskaia Date: Fri, 12 Jul 2019 14:02:36 -0400 Message-ID: Subject: Re: multipath patches To: Trond Myklebust Cc: "linux-nfs@vger.kernel.org" , "neilb@suse.com" Content-Type: text/plain; charset="UTF-8" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Jul 12, 2019 at 1:18 PM Trond Myklebust wrote: > > On Fri, 2019-07-12 at 12:39 -0400, Olga Kornievskaia wrote: > > On Thu, Jul 11, 2019 at 5:13 PM Trond Myklebust < > > trondmy@hammerspace.com> wrote: > > > On Thu, 2019-07-11 at 16:33 -0400, Olga Kornievskaia wrote: > > > > On Thu, Jul 11, 2019 at 3:29 PM Trond Myklebust < > > > > trondmy@hammerspace.com> wrote: > > > > > On Thu, 2019-07-11 at 15:06 -0400, Olga Kornievskaia wrote: > > > > > > Hi Trond, > > > > > > > > > > > > I see that you have nconnect patches in your testing branch > > > > > > (as > > > > > > well > > > > > > as your linux-next and I assume they are the same). There is > > > > > > something wrong with that version. A mount hangs the machine. > > > > > > > > > > > > [ 132.143379] watchdog: BUG: soft lockup - CPU#0 stuck for > > > > > > 23s! > > > > > > [mount.nfs:2624] > > > > > > > > > > > > I don't have such problems with the patch series that Neil > > > > > > has > > > > > > posted. > > > > > > > > > > > > Thank you. > > > > > > > > > > How are the patchsets different? As far as I know, all I did > > > > > was > > > > > apply > > > > > the 3 patches that Neil added to my existing branch. > > > > > > > > I'm not sure. I had a problem with your "multipath" branch before > > > > and > > > > I recall what I did is went back and redownloaded your posted > > > > patches. > > > > That was when I was testing performance. So if you haven't > > > > touched > > > > that branch and just used it I think it's the same problem. > > > > > > > > In the current testing branch I don't see several patches that > > > > Neil > > > > has added (posted) to the mailing list. So I'm not sure what you > > > > mean > > > > you added 3 of his patches on top of yours. At most I can say > > > > maybe > > > > you added 2 of his (one that allows for v2 and v3 and another > > > > that > > > > does state operations on a single connection. There are no > > > > patches > > > > for > > > > sunrpc stats that were posted). > > > > > > > > What I know is that if I revert your branch to > > > > bf11fbdb20b385157b046ea7781f04d0c62554a3 before patches and apply > > > > Neils patches. All is fine. I really don't want to debug a non- > > > > working > > > > version when there is one that works. > > > > > > Sure, but that is not really an option given the rules for how > > > trees in > > > linux-next are supposed to work. They are considered to be more or > > > less > > > stable. > > > > > > Anyhow, I think I've found the bug. Neil had silently fixed it in > > > one > > > of my patches, so I've added an incremental patch that does more or > > > less what he did. > > > > I just pulled and I still have a problem with the nconnect mount. > > Machine still hangs. > > > > Stack trace isn't in NFS but I'm betting it's somehow related > > > > [ 235.756747] general protection fault: 0000 [#1] SMP PTI > > [ 235.765187] CPU: 0 PID: 2780 Comm: pool Tainted: G W > > 5.2.0-rc7+ #29 > > [ 235.768555] Hardware name: VMware, Inc. VMware Virtual > > Platform/440BX Desktop Reference Platform, BIOS 6.00 04/13/2018 > > [ 235.774368] RIP: 0010:kmem_cache_alloc_node_trace+0x10b/0x1e0 > > [ 235.777576] Code: 4d 89 e1 41 f6 44 24 0b 04 0f 84 5f ff ff ff 4c > > 89 e7 e8 08 b6 01 00 49 89 c1 e9 4f ff ff ff 41 8b 41 20 49 8b 39 48 > > 8d 4a 01 <49> 8b 1c 06 4c 89 f0 65 48 0f c7 0f 0f 94 c0 84 c0 0f 84 > > 36 > > ff ff > > [ 235.786811] RSP: 0018:ffffbc7c4200fe58 EFLAGS: 00010246 > > [ 235.789778] RAX: 0000000000000000 RBX: 0000000000000000 RCX: > > 0000000000002b7c > > [ 235.793204] RDX: 0000000000002b7b RSI: 0000000000000dc0 RDI: > > 000000000002d96 > > [ 235.796182] RBP: 0000000000000dc0 R08: ffff9c7bfa82d960 R09: > > ffff9c7bcfc06d00 > > [ 235.799135] R10: ffff9c7bfddf0240 R11: 0000000000000001 R12: > > ffff9c7bcfc06d00 > > [ 235.802094] R13: 0000000000000000 R14: f000ff53f000ff53 R15: > > ffffffffbe2d4d71 > > [ 235.805072] FS: 00007fd7f1d48700(0000) GS:ffff9c7bfa800000(0000) > > knlGS:0000000000000000 > > [ 235.808430] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 235.810762] CR2: 00007fd7f0eb65a4 CR3: 0000000012046005 CR4: > > 00000000001606f0 > > [ 235.813662] Call Trace: > > [ 235.814694] alloc_rt_sched_group+0xf1/0x250 > > [ 235.816439] sched_create_group+0x59/0x70 > > [ 235.818094] sched_autogroup_create_attach+0x3a/0x160 > > [ 235.820148] ksys_setsid+0xeb/0x100 > > [ 235.821645] __ia32_sys_setsid+0xa/0x10 > > [ 235.823216] do_syscall_64+0x55/0x1a0 > > [ 235.824710] entry_SYSCALL_64_after_hwframe+0x44/0xa9 > > > > Ah.. Missing xprt_get(). Fixed in the 'testing' branch now. I'll send > out a patch for review. Hi Trond, With the latest patch in the testing branch, I can mount. > > -- > Trond Myklebust > Linux NFS client maintainer, Hammerspace > trond.myklebust@hammerspace.com > >