Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1044469ybm; Tue, 21 May 2019 07:50:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPYu4GqRZelAHNaiIgxZbr/GAlHQ4GB9qTaoh+MdobRKFyPBjV4tPJxHEmt7MFgSLtUDzk X-Received: by 2002:a65:624f:: with SMTP id q15mr82849006pgv.436.1558450256957; Tue, 21 May 2019 07:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558450256; cv=none; d=google.com; s=arc-20160816; b=gTruQtHlbcvPk6/eV/EHzC9EfRqKbMAVb8X2LK3w1PEefcRbOH4qbe+kbMfv9XODUr zTVyhnCjQ6Lq+VF3qqo8hIb76Wy0e5q00LjKbOxlEGLe0leJqKZ/smV/nA3HqOq2lagR LU1IZW2SzFMTT0ooJHW/M1tizgFLLTvpyiawg1s0gKCFO831ALTK+RmFS28Pvby1EKNS GNgXkYdQVeF86VN2ImCT3RWDr3dHdty7DTw08nmb9bGN4Oh/JfHheMWs2F36m99DvhFo zY3wtezq54+0QbXDqmsPoxQ+QZQPWOHL493w7z1X/903IskdU0VuwJxDotTsqV8wVllM J3Tw== 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; bh=vYVpKwN9VXiZIzZI/OErIh0ntjeyXxIGmYWBvQWOIsE=; b=G5897uFPEgbqBvFwwZFEva8BUsLRMUWkcEGdDsZl+wD+10wvoPOyKslqpuWRPw3Pz5 W0IXAFNrrJBPVIpLXIlEhVaW59cWYIpUX30Qa9X+tVHnFYkx/Z9wocIHgyC7QYlW3wY9 dA2Kpty/1lOKKRjIiptEKhe4JZzj3ZWWMI8AeBqmaeyW1PTcmiprMzTY8G+AcwLnLWtz P5FJwWVKz/x8lfOeeBzjhwB6Dhux6tKWpqzK6/lanIQH7hGjInAv8AqkOAkS5cbN4dNs 0YG3T/PemEHe/hhvrUPKYJjJpjHpJPV4Tr2zCW1CeKKm1hHPLDmNYkh6NRLyg7/I007T R5uA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si21836398plb.30.2019.05.21.07.50.31; Tue, 21 May 2019 07:50:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728331AbfEUOtg (ORCPT + 99 others); Tue, 21 May 2019 10:49:36 -0400 Received: from fieldses.org ([173.255.197.46]:57812 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbfEUOtg (ORCPT ); Tue, 21 May 2019 10:49:36 -0400 Received: by fieldses.org (Postfix, from userid 2815) id A4AC51C81; Tue, 21 May 2019 10:49:35 -0400 (EDT) Date: Tue, 21 May 2019 10:49:35 -0400 From: "J. Bruce Fields" To: Benjamin Coddington Cc: Xuewei Zhang , jlayton@kernel.org, Grigor Avagyan , Trevor Bourget , Nauman Rafique , trond.myklebust@hammerspace.com, anna.schumaker@netapp.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH] lockd: Show pid of lockd for remote locks Message-ID: <20190521144935.GB9499@fieldses.org> References: <3A924C3F-A161-4EE2-A74E-2EE1B6D2CA14@redhat.com> <20190520205106.GA29025@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, May 21, 2019 at 07:18:57AM -0400, Benjamin Coddington wrote: > On 20 May 2019, at 16:51, J. Bruce Fields wrote: > > >On Mon, May 20, 2019 at 10:22:00AM -0400, Benjamin Coddington wrote: > >>Ok, I just noticed that we set fl_owner to the nlm_host in > >>nlm4svc_retrieve_args, so things are not as dire as I thought. What > >>would be nice is a sane set of tests for NLM.. > > > >What would we have needed to catch this? Sounds like it turns > >multi-client testing wouldn't have been required? (Not that that > >would > >be a bad idea.) > > Two NLM clients would be ideal to exercise the full range of > expected lock behavior. I suspect that's something I can do with > what's in pynfs today, but I haven't looked yet. I suppose if > there's a test for NLM I should make one for v4 too.. There isn't any pynfs NLM code. Some isilon folks did NLM/NSM/NFSv2/v3 pynfs tests: https://github.com/sthaber/pynfs I just never got a chance to incorporate them and try them. It's been a while, and I think there were one or two odd things about it, but maybe it'd be a good starting point. --b.