From patchwork Fri Nov 24 00:23:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 13466953 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9107D68 for ; Thu, 23 Nov 2023 20:20:38 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104: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 433F822C69; Fri, 24 Nov 2023 00:29:36 +0000 (UTC) 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 23B641340B; Fri, 24 Nov 2023 00:29:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id jqmdMm3uX2U6egAAD6G6ig (envelope-from ); Fri, 24 Nov 2023 00:29:33 +0000 From: NeilBrown To: Chuck Lever , Jeff Layton Cc: linux-nfs@vger.kernel.org, Olga Kornievskaia , Dai Ngo , Tom Talpey Subject: [PATCH 00/11 v4] nfsd: support admin-revocation of v4 state Date: Fri, 24 Nov 2023 11:23:12 +1100 Message-ID: <20231124002504.19515-1-neilb@suse.de> X-Mailer: git-send-email 2.42.1 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spamd-Bar: +++++++++++++ X-Spam-Score: 13.21 X-Rspamd-Server: rspamd1 X-Rspamd-Queue-Id: 433F822C69 Authentication-Results: smtp-out1.suse.de; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=suse.de (policy=none); spf=softfail (smtp-out1.suse.de: 2a07:de40:b281:104:10:150:64:97 is neither permitted nor denied by domain of neilb@suse.de) smtp.mailfrom=neilb@suse.de X-Spamd-Result: default: False [13.21 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.42)[0.472]; BROKEN_CONTENT_TYPE(1.50)[]; R_SPF_SOFTFAIL(4.60)[~all]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[suse.de : No valid SPF, No valid DKIM,none] This revision addes revocation of layout state, is rebased on latest nfsd-next, and addresses a couple of other review comments. Thanks, NeilBrown [PATCH 01/11] nfsd: hold ->cl_lock for hash_delegation_locked() [PATCH 02/11] nfsd: don't call functions with side-effecting inside [PATCH 03/11] nfsd: avoid race after unhash_delegation_locked() [PATCH 04/11] nfsd: split sc_status out of sc_type [PATCH 05/11] nfsd: prepare for supporting admin-revocation of state [PATCH 06/11] nfsd: allow admin-revoked state to appear in [PATCH 07/11] nfsd: allow admin-revoked NFSv4.0 state to be freed. [PATCH 08/11] nfsd: allow lock state ids to be revoked and then freed [PATCH 09/11] nfsd: allow open state ids to be revoked and then freed [PATCH 10/11] nfsd: allow delegation state ids to be revoked and then [PATCH 11/11] nfsd: allow layout state to be admin-revoked.