Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp958910pxb; Wed, 3 Mar 2021 22:32:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwk/JBFHHHmi3uVSt9ifjCCp1JO3mcdorU4mjgB3201J2gMqnhKqjE2I6rE1808CL6J812/ X-Received: by 2002:a17:906:95d1:: with SMTP id n17mr2502178ejy.394.1614839568817; Wed, 03 Mar 2021 22:32:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614839568; cv=none; d=google.com; s=arc-20160816; b=zImK1RgZTCbl4n2SddIbIhZNQuS4BaUBxDAF+12LmttaAHCI/b/fYS+HpEnxdKmnkf V1mE0T9qKT2u4CeGJuICp2QGW1mJlfEuzxDIFfiw/7eCJFeSrjbNlLkkf8KBVrQ7hdA3 p3JQOIaHkTzs9Ujgru6dDkACv1wekG6O7EDrE9NM/bXaCCuha67NBrw0x/V/C54djYYq bPsIL7zOIiBNrHJpl1q0EbggWKyWBOl5RShWKOVCDzTD34BB51kkcwJOypp8DpCyLOWp DG6PurR9bUHNPBa6KhJU2FnCdU2Z6hm1JkONXToBiZDu8BQXxbrlg/6psRPKauqw1Myl VEMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:references:in-reply-to :subject:cc:date:to:from; bh=upn259yrzyGJf9V27NGhgdmK6+uHHEsCKmMh8GdtK08=; b=g1Dh4k0BKHJl3ltJl0ak3Hb0PIlNxqLJnxNvOezRHhk0892LcxQaW8nTJIT0UbQ2hy wHbZb5fAJIRPRGdKLfKUws8jLUqQCaGBQjCE94Um2ntvwy9Cb75q5G5VdeVE3XEtxzqL F4tzyMorUYr48GquHyXjLsqPGkH6i8KGplV3BFict/aaeUnPBa37xdwVOVW8ePrAkS+u Ld+8U2ZTb2MtG8di8X4azcCMzNJ/xqVTJBXM4cJ1M+VUCeTZwvTl1lmVtFNJ3MESvMRg kt8sb8X7Y/S9OebrpW3HhMTw9mbdQsLOiwArzNwxf/eH61I+2qMHba38ABAfvNvwTSG3 jJBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k7si17665394ejs.165.2021.03.03.22.32.10; Wed, 03 Mar 2021 22:32:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352152AbhCBSQF (ORCPT + 99 others); Tue, 2 Mar 2021 13:16:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:52788 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1445803AbhCBDCW (ORCPT ); Mon, 1 Mar 2021 22:02:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A4C4EAD21; Tue, 2 Mar 2021 03:01:40 +0000 (UTC) From: NeilBrown To: "J. Bruce Fields" Date: Tue, 02 Mar 2021 14:01:36 +1100 Cc: Steve Dickson , Linux NFS Mailing list Subject: Re: [PATCH 0/5 v2] nfs-utils: provide audit-logging of NFSv4 access In-Reply-To: <20210301185037.GB14881@fieldses.org> References: <161456493684.22801.323431390819102360.stgit@noble> <20210301185037.GB14881@fieldses.org> Message-ID: <874khui7hr.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org --=-=-= Content-Type: text/plain On Mon, Mar 01 2021, J. Bruce Fields wrote: > I've gotten requests for similar functionality, and intended to > implement it using directory notifications on /proc/fs/nfsd/clients. I've been exploring this a bit. When I mount a filesystem, 2 clients get created. With NFSv4.0, the second client is immediately deleted, and the first client is deleted one grace period after the filesystem is unmounted. With NFSv4.1 and 4.2, the first client is immediately deleted, and the second client is deleted immediately after the unmount. Do you know why two clients are created? I could dig through the code ... but maybe you already know. Thanks, NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCAAsFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAmA9qpAOHG5laWxiQHN1 c2UuZGUACgkQOeye3VZigbmTLQ/+PivXd/sPlNEungFMeZV+eKxMRuRONZLp5v7p M6ovh0CpwBRTNjusbNoXWFmlrSlld4DjVdOy/OmAtID4LoX3H0g0EQz91cYVvnoo 59/CrnHBjcqvdr0QDQ112cqFIXTX0C3vrLlrMASRIhsICShlWW/ViWVB5upRdpUK 1h0fvQDzHlKBrh/bZN0JgDdjIvfmSuBBSVgSoJRNO+gFde9aaKpD4e73ZZm31qWz BrNhsDYX43cJp+AH5hLfDOjDqGzuLwj0lIzPJctCOcwefmGLZCBn/K/CVrs6MW62 bFriVlS+RUFgEagCkw1ZxYmqe3X4NJObqvB2NBYj41Ax2hr58/h+BSMwb6wA1nuP TVTa/SclWSZ+zuXgLtq/UL3tl47iIcnZpdoFWx/6kmpoWcz5tnwB5h8aVXmOOaxo 5HvgDLuY3ikY3MOlxKnP/4ZaFZSrVCHcYKCkBIUb02aMfupyyDFcpi4EsEHRqnxQ z94w3iERsZHJVminQf4ZIE4cKSp8GNd6RHPhhJi9SA8APlDeStU8DOsDoLS0CuRG wfIr5lG3m2RPFc1+fpsV4IfW/esb1ANk2EJtkc5SCXQMI+PEX90EeuV+ELvg9okp ihJQTLpKKfixOvkYeuR9udaiwgpxYdioWKOBmbuCLf9z6tJKKIP/IoWPlzqKI+jJ FFVY7qE= =8qXR -----END PGP SIGNATURE----- --=-=-=--