Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1789616ybl; Thu, 5 Dec 2019 07:04:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzIAz8OwIxtcXzs121joQ2wibjj1P0PNOCHsXV79L2DbyHvJKXqL8btCH2Te7mWdH2cXByb X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr6936709otq.63.1575558288226; Thu, 05 Dec 2019 07:04:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575558288; cv=none; d=google.com; s=arc-20160816; b=WaWXo68O/qneuAY0DX/wcg2aRbv4OxRvl+nnD2xlgK/zJtg+q0wGV9uxW3OHZnDg3J neCESKBQyvWUAEajUItJRPS1jtHL/HjUDgqV7MhIpRfHDuEltGsjiBe7Em3GSO7s2Px9 F6QYa0BhWiKzhU6/SteLa9N0uks3fS7GAueas/fj5tT2QqNJZ26o4z9sBZViCm5VNiyC BO9vh3nGI+pVC0PNAp+2w5c870YJT5f0zoA/DpJ5YJvrphtgdT//EYp7ZfDNUIONOW7Q TjSd/l2HdOMmgpRJ2KjS3uMYAU7ThqmCSGJMBM36GCjIRKeMPRimwRll28YExa4rJXmQ rfOw== 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=OZTuwI+If/qr1uF/ozmFDSh6tjG04Tbq1xpvkcGuoOc=; b=bZPeIA/P/d8L2RHmVTb17I6MWR5tBL/5RQuKt7b/Jb8rL6ni3FeE7I+/yoF084vMEG 2Zj4/7VJphf/bGDlHP5TVnEJbyegrTNKiQMNd53Je5mdqL0wRupncu1jTPlYip8qwMe2 Bh1rH0tZlEHRM8kvgmfcjY6wuy1gHp1bM8BT5B2pr3OAwVEnKDxtBTyLcQrRJKQSsZup QRKs9p4vsGwINcv08xuw8XPpYL/2ApO0GZAr+re21GuIUo5H/THwIJNUpGzcrl7R2n8K RAIYIuC7lbNI9AT5E1FVMLLm4Zw7hwdfXHzAZvhZeMX7ZP53LmrB6hO5XAch5y/ONdNO sXEw== 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 q5si4737978otn.33.2019.12.05.07.04.28; Thu, 05 Dec 2019 07:04:48 -0800 (PST) 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 S1729698AbfLEPDp (ORCPT + 99 others); Thu, 5 Dec 2019 10:03:45 -0500 Received: from fieldses.org ([173.255.197.46]:53076 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729187AbfLEPDo (ORCPT ); Thu, 5 Dec 2019 10:03:44 -0500 Received: by fieldses.org (Postfix, from userid 2815) id 9AB51BC3; Thu, 5 Dec 2019 10:03:44 -0500 (EST) Date: Thu, 5 Dec 2019 10:03:44 -0500 From: "J. Bruce Fields" To: Alex Lyakas Cc: linux-nfs@vger.kernel.org Subject: Re: [RFC-PATCH] nfsd: provide a procfs entry to release stateids of a particular local filesystem Message-ID: <20191205150344.GB22402@fieldses.org> References: <1567518908-1720-1-git-send-email-alex@zadara.com> <20190906161236.GF17204@fieldses.org> <20190910202533.GC26695@fieldses.org> <1D90658865CE4379A951E464008D872E@alyakaslap> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1D90658865CE4379A951E464008D872E@alyakaslap> 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 Thu, Dec 05, 2019 at 01:47:09PM +0200, Alex Lyakas wrote: > Hi Bruce, > > Have you had a chance to review the V2 of the patch? I'll take a quick look.--b. > > Thanks, > Alex. > > > -----Original Message----- From: J. Bruce Fields > Sent: Tuesday, September 10, 2019 11:25 PM > To: Alex Lyakas > Cc: linux-nfs@vger.kernel.org ; Shyam Kaushik > Subject: Re: [RFC-PATCH] nfsd: provide a procfs entry to release > stateids of a particular local filesystem > > On Tue, Sep 10, 2019 at 10:00:24PM +0300, Alex Lyakas wrote: > >I addressed your comments, and ran the patch through checkpatch.pl. > >Patch v2 is on its way. > > Thanks for the revision! I need to spend the next week or so catching > up on some other review and then I'll get back to this. > > For now: > > >On Fri, Sep 6, 2019 at 7:12 PM J. Bruce Fields > > wrote: > >> You'll want to cover delegations as well. And probably pNFS layouts. > >> It'd be OK to do that incrementally in followup patches. > >Unfortunately, I don't have much understanding of what these are, and > >how to cover them) > > Delegations are give the client the right to cache files across opens. > I'm a little surprised your patches are working for you without handling > delegations. There may be something about your environment that's > preventing delegations from being given out. In the NFSv4.0 case they > require the server to make a tcp connection back the client, which is > easy blocked by firewalls or NAT. Might be worth testing with v4.1 or > 4.2. > > Anyway, so we probably also want to walk the client's dl_perclnt list > and look for matching files. > > --b.