Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp728058rdb; Mon, 29 Jan 2024 17:11:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3XBTSs/rljyD87HoKPS2FegQKN4BgZKDQQbte82AumKt3QaHADO8X/vTermrmir52zlcy X-Received: by 2002:a17:902:ce90:b0:1d9:592:c301 with SMTP id f16-20020a170902ce9000b001d90592c301mr587291plg.3.1706577079574; Mon, 29 Jan 2024 17:11:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706577079; cv=pass; d=google.com; s=arc-20160816; b=F0xuAcwiDI0mhqUK3VoG0GtsAJ7Iu1DJsVMnh7537lY0MWoOysUfLeotDSOKv3/a5U TeWjvAxWW4qn3C1WwN4e6V6Ohh0fyivIPINg2mbJQvuFTrRfpVOg/K5OXaKFTlOeDjP9 c1axdF0V1ESpt/wghTuEwuF1NepLOtIXmMfdi/OILF13YJqod59ehRhzLS8ohVuT4I6O NrgKGuGMdW70NETkhEU5uYp1YzO9GNBCH5qXnRRjhcLTwKpi3+V3eIMktJ519/NOdbjA qUji3NIMZyKc2R6aJqkVDF9GGKOP5hR//0fnp96Kw5IGunVzEFAw3ARG8eKVnz/Dehh4 9n9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=Srh3cIjBYRaI6wwNJ8jhdwcXoeCeh7FfmcJF/fbfdXU=; fh=DPK+PwXoUUGZcwbQK6Acek0sHLUTB6JOgAucPVabbeA=; b=xcjoqBiW1ezrP359TUx3hBnWyiClyMlqo+FgFenW61CF8dFFwaP4XmzRW94OH9EVhW BZ/ewKc1fOMtPG8kRfpHUjxa6Q8ohbtebO5UBQzShCp3w070bWDmeOrWWU1qkwpC0gKY HzqEMuiu3pchakaLj8Wj2EzR8DOS2JqF8gjb1UcvZw804+csEgYLdkPgRJ/AahBh3wS9 dDJmCRivrSgdaG4k6Wgj+5h1uh54Q9tQ5QZX5wGjbwSkWjIHgzyQ87yLNURmIsEMr8qJ yAYyGILgFhCu1ilJM9barIAWt5DXKoesJyx+mF00q74Em67/uoHdoN2y0WXe00IWXmuM j7yQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=i3Ph+e7a; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=7TjoisU1; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=i3Ph+e7a; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-1582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 1-20020a170902ee4100b001d8a93ed93esi5649383plo.55.2024.01.29.17.11.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 17:11:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=i3Ph+e7a; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=7TjoisU1; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=i3Ph+e7a; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-1582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 22258B229E4 for ; Tue, 30 Jan 2024 01:11:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB9432E646; Tue, 30 Jan 2024 01:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="i3Ph+e7a"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="7TjoisU1"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="i3Ph+e7a"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="7TjoisU1" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 344F52E40E for ; Tue, 30 Jan 2024 01:11:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706577074; cv=none; b=NBzuUvc/+8pSsh6IbWGZK6ztFXcxumISlvoONJ7NOGa/QGlKeGb+Xnr8REy1jXsURPLwNpPZSuBLcZhwjz65baQsdj0ElCGF7y7ahojM0dxRfJ/I+rtRJxgfFlZNaLDvSzJTANlQtIf1VYYzC0ZdlyLV/VmTIAVVdMIn7Tz3wmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706577074; c=relaxed/simple; bh=F4wMGSd1qHpsBukefn4ELoR3BUvwLC8OQvBXIDx17Yc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IPN2J152cYByM1PxhP6q+IppglCNhmr4xqAxFOe1YGq+vT284kUPVSnIqvprvy/dMJIfrbE5D7ocrSo26i5tFPk4H6wC5nDuCeu15xzk7tU8U6ceMIdej8SElHQvUAYSbUIFIuksD4d6YipqNTUfeNigRHeoNTya9xaXAexTquM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=i3Ph+e7a; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=7TjoisU1; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=i3Ph+e7a; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=7TjoisU1; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 526B3220BB; Tue, 30 Jan 2024 01:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1706577071; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Srh3cIjBYRaI6wwNJ8jhdwcXoeCeh7FfmcJF/fbfdXU=; b=i3Ph+e7aKmCHt3ylybVneEVvMoYipifzNTWlNqZGNcwd5pjh9XQTVsx1HPTawW6vMelUzk VUaulUzHQDMwEYbkfBDopQPKbDL72KPdgHMWM7Pizo4OZq4m09yBxJE944QtQjR6Gsb1e5 wORm2dI6Xxyt9fDPL8hNCFbj0ybN4bo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1706577071; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Srh3cIjBYRaI6wwNJ8jhdwcXoeCeh7FfmcJF/fbfdXU=; b=7TjoisU1yCgoTcEH9E3UeEdGp65BX+1TH6dFIdOMkE0KbEHXK/WZAcbbVpQvviFPLi6GIu NH5OpEOmoQr49pBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1706577071; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Srh3cIjBYRaI6wwNJ8jhdwcXoeCeh7FfmcJF/fbfdXU=; b=i3Ph+e7aKmCHt3ylybVneEVvMoYipifzNTWlNqZGNcwd5pjh9XQTVsx1HPTawW6vMelUzk VUaulUzHQDMwEYbkfBDopQPKbDL72KPdgHMWM7Pizo4OZq4m09yBxJE944QtQjR6Gsb1e5 wORm2dI6Xxyt9fDPL8hNCFbj0ybN4bo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1706577071; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Srh3cIjBYRaI6wwNJ8jhdwcXoeCeh7FfmcJF/fbfdXU=; b=7TjoisU1yCgoTcEH9E3UeEdGp65BX+1TH6dFIdOMkE0KbEHXK/WZAcbbVpQvviFPLi6GIu NH5OpEOmoQr49pBQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A774712FF7; Tue, 30 Jan 2024 01:11:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id lh3VF6xMuGWPQAAAD6G6ig (envelope-from ); Tue, 30 Jan 2024 01:11:08 +0000 From: NeilBrown To: Chuck Lever , Jeff Layton Cc: linux-nfs@vger.kernel.org, Olga Kornievskaia , Dai Ngo , Tom Talpey , Christoph Hellwig , Tom Haynes Subject: [PATCH 00/13 v5] nfsd: support admin-revocation of v4 state Date: Tue, 30 Jan 2024 12:08:20 +1100 Message-ID: <20240130011102.8623-1-neilb@suse.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [4.90 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[vger.kernel.org,netapp.com,oracle.com,talpey.com,lst.de,gmail.com]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[33.80%] X-Spam-Level: **** X-Spam-Score: 4.90 X-Spam-Flag: NO Changes compared to V4: - rebased on nfsd-next. There was a new trace point which caused a conflict - added some reviewed-by from Jeff - Fix the new kdoc comment - kernel test robot reported I had the wrong syntax for documenting function parameters. Thanks, NeilBrown [PATCH 01/13] nfsd: remove stale comment in nfs4_show_deleg() [PATCH 02/13] nfsd: hold ->cl_lock for hash_delegation_locked() [PATCH 03/13] nfsd: don't call functions with side-effecting inside [PATCH 04/13] nfsd: avoid race after unhash_delegation_locked() [PATCH 05/13] nfsd: split sc_status out of sc_type [PATCH 06/13] nfsd: prepare for supporting admin-revocation of state [PATCH 07/13] nfsd: allow state with no file to appear in [PATCH 08/13] nfsd: report in /proc/fs/nfsd/clients/*/states when [PATCH 09/13] nfsd: allow admin-revoked NFSv4.0 state to be freed. [PATCH 10/13] nfsd: allow lock state ids to be revoked and then freed [PATCH 11/13] nfsd: allow open state ids to be revoked and then freed [PATCH 12/13] nfsd: allow delegation state ids to be revoked and then [PATCH 13/13] nfsd: allow layout state to be admin-revoked.