Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp914586pxf; Wed, 7 Apr 2021 14:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEzFfxvzNZ7pVBRXTA8x0Sirz7eNF4BxVrY6VbIKxVfRScYX2YN8YaI9yfzmjJ2QanCD3S X-Received: by 2002:a17:902:e886:b029:e7:386b:1b30 with SMTP id w6-20020a170902e886b02900e7386b1b30mr4939410plg.42.1617832672515; Wed, 07 Apr 2021 14:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617832672; cv=none; d=google.com; s=arc-20160816; b=QAFbIpBPwBcxb//PIuspzsETF0coJ7f5I+6GeisZJXWRBxTU/XAKv+DBcQNPwHmXA2 qJ0YmU0dswQa7W2pT+sYy0kAogCeJFed8d2VxtuaNFYrGTb0ZHMXmJDQGojPtOQQIayr NvsZZ0+aOWLDCLFmYCwOjko1NhQSoMoM02p+v5OCgSGJUAEOlbovMXOjCuwhGkBbWGJ9 sz+fdBpVpP29kTBXx6MX/7bOFoSyIgIEfI5Nk09Vai6MTNLfDRjXXh2yFek6/eD5VJ/h Zt/WULoim7AdG+FnZjVLUS8dYfwAsGKvX4kW70XQ9VtJN3GmZjsadGLPRZW18DEJNZbL AwCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=UBy3jsAQpHRcVRqL7uDWz1r1LW3o05ljvE8KQsiZeZA=; b=m8rs7FAjj4BZ+N9rFNN1ATQa2y6d4ke+5lmO9P49+G+mHywCvgWycOQ5ewdnCPArLc A3VezgLvm1k01f5/gCG/nIPSlf4ZXrKdmrbmRjPgCXO1SRV+Am79tPpFIvYXT0KIY3Je EsfzRl9VwnqMJdB6XEbYEpiS+so5CCM1feXCSaj5PwEjbjRPKrcZUKwWLxaosbi0R3cq 0UcnCRiyOj+uKkISY1uXi3LGv3zprbjDU1cViqlK7MRwdDZ30FsQx+dUaQYuQJWKgSHX 8TNuUHQunMIvYa2hz+71GrPFKnV2ZuN71XK0YDi30kHgD8sfaJNMiQf3AAfleL9Q6PS+ V0dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=qGozcNFh; 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 gq15si2482129pjb.127.2021.04.07.14.57.37; Wed, 07 Apr 2021 14:57:52 -0700 (PDT) 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; dkim=pass header.i=@fieldses.org header.s=default header.b=qGozcNFh; 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 S1355783AbhDGTzs (ORCPT + 99 others); Wed, 7 Apr 2021 15:55:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355787AbhDGTzo (ORCPT ); Wed, 7 Apr 2021 15:55:44 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD6B1C06175F for ; Wed, 7 Apr 2021 12:55:34 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id B6A4E6191; Wed, 7 Apr 2021 15:55:33 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org B6A4E6191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1617825333; bh=UBy3jsAQpHRcVRqL7uDWz1r1LW3o05ljvE8KQsiZeZA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qGozcNFhfyD2EN6Ra+u3q7MtKiGODLJJn8rcOfs351eRMLYimDBkO7sT+hd5e+LVM GArZG6u2OU1tzQ0SSvghfhVXZK0+X2zyLs1HahmLscs3cTIpY5J7D61up5Prp4VjDh yj8MnjStgTzdT94tiwKrq6KH0fJZ0xNRvLRcB1Yk= Date: Wed, 7 Apr 2021 15:55:33 -0400 From: "J. Bruce Fields" To: Steve Dickson Cc: NeilBrown , Linux NFS Mailing list Subject: Re: [PATCH 0/5 v2] nfs-utils: provide audit-logging of NFSv4 access Message-ID: <20210407195533.GB3663@fieldses.org> References: <161456493684.22801.323431390819102360.stgit@noble> <20210301185037.GB14881@fieldses.org> <874khui7hr.fsf@notabene.neil.brown.name> <20210302032733.GC16303@fieldses.org> <87y2ejerwn.fsf@notabene.neil.brown.name> <20210319132820.GA31533@fieldses.org> <87lfaieuoj.fsf@notabene.neil.brown.name> <20210319210922.GD31533@fieldses.org> <20210407191451.GA3663@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) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Apr 07, 2021 at 03:33:41PM -0400, Steve Dickson wrote: > > > On 4/7/21 3:14 PM, J. Bruce Fields wrote: > > On Fri, Mar 19, 2021 at 05:09:22PM -0400, J. Bruce Fields wrote: > >> On Sat, Mar 20, 2021 at 07:48:44AM +1100, NeilBrown wrote: > >>> For NFSv4.1, only the EXCHANGE_ID is duplicate. There is only one > >>> CREATE_SESSION, and that is where the client is confirmed. So only one > >>> confirmed client. > >>> > >>> For NFSv4.0 bother SETCLIENTID and SETCLIENDID_CONFIRM are duplicate. > >>> So maybe both clients get confirmed. I should check that. > >> > >> Drifting off topic, but I don't see how this client behavior makes > >> sense. Mount is chatty enough without the unnecessary duplication. > >> Looking at the code.... > > > > I never sorted this out, by the way. I think there must be a bug, > > though. > My bad... I didn't realize you had concern with the patch... > What needs to happen... to figure this out? Sorry, it wasn't a concern with Neil's patches. The thing I don't understand is why the client is sending these calls twice. Anyway, that's more-or-less harmless behavior, and in kernel code, nothing to do with nfs-utils. --b.