Linux NFS development
 help / color / mirror / Atom feed
* [PATCH v7 00/14] nfsd: assorted cleanups involving v4 special stateids.
@ 2025-11-22  0:46 NeilBrown
  2025-11-22  0:46 ` [PATCH v6 01/14] nfsd: rename ALLOWED_WITHOUT_FH to ALLOWED_WITHOUT_LOCAL_FH and revise use NeilBrown
                   ` (13 more replies)
  0 siblings, 14 replies; 20+ messages in thread
From: NeilBrown @ 2025-11-22  0:46 UTC (permalink / raw)
  To: Chuck Lever, Jeff Layton
  Cc: Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs

I've done some proper testing this time and found that nfsd4_open() does
something a bit unusualy with current_fh so that my change to how
current-stateid is saved didn't work.  I've added two patches to fix that (08 and 09).

I've also split the non-RFC-7862 change to foreign-filehandle handling
out to its own patch (04).

This series compiles at each commit and passes all nfsv4.1 pynfs tests.
A few nfsv4.0 pynfs tests fail because they try a "stale" stateid which
isn't one that the server ever would generate, so those tests get a
BAD_STATEID error.  Hopefully I'l post a patch for pynfs.

Thanks,
NeilBrown

 [PATCH v6 01/14] nfsd: rename ALLOWED_WITHOUT_FH to
 [PATCH v6 02/14] nfsd: discard NFSD4_FH_FOREIGN
 [PATCH v6 03/14] nfsd: simplify foreign-filehandle handling to better
 [PATCH v6 04/14] nfsd: allow unrecognisable filehandle for foreign
 [PATCH v6 05/14] nfsd: report correct error for attempt to use
 [PATCH v6 06/14] nfsd: drop explicit tests for special stateids which
 [PATCH v6 07/14] nfsd: revise names of special stateid, and predicate
 [PATCH v6 08/14] nfsd: pass parent_fh explicitly to
 [PATCH v6 09/14] nfsd: revert nfsd4: delay setting current_fh in open
 [PATCH v6 10/14] nfsd: simplify clearing of current-state-id
 [PATCH v6 11/14] nfsd: simplify use of the current stateid.
 [PATCH v6 12/14] nfsd: simplify saving of the current stateid
 [PATCH v6 13/14] nfsd: discard current_stateid.h
 [PATCH v6 14/14] nfsd: conditionally clear seqid when current_stateid

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-01-23 17:03 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-22  0:46 [PATCH v7 00/14] nfsd: assorted cleanups involving v4 special stateids NeilBrown
2025-11-22  0:46 ` [PATCH v6 01/14] nfsd: rename ALLOWED_WITHOUT_FH to ALLOWED_WITHOUT_LOCAL_FH and revise use NeilBrown
2025-11-22 20:40   ` Chuck Lever
2025-11-22  0:47 ` [PATCH v6 02/14] nfsd: discard NFSD4_FH_FOREIGN NeilBrown
2025-11-22  0:47 ` [PATCH v6 03/14] nfsd: simplify foreign-filehandle handling to better match RFC-7862 NeilBrown
2025-11-22  0:47 ` [PATCH v6 04/14] nfsd: allow unrecognisable filehandle for foreign servers in COPY NeilBrown
2025-11-22 21:16   ` Chuck Lever
2025-11-23 16:43     ` Chuck Lever
2025-11-27  0:55       ` NeilBrown
2026-01-23 17:03         ` Chuck Lever
2025-11-22  0:47 ` [PATCH v6 05/14] nfsd: report correct error for attempt to use foreign filehandle NeilBrown
2025-11-22  0:47 ` [PATCH v6 06/14] nfsd: drop explicit tests for special stateids which would be invalid NeilBrown
2025-11-22  0:47 ` [PATCH v6 07/14] nfsd: revise names of special stateid, and predicate functions NeilBrown
2025-11-22  0:47 ` [PATCH v6 08/14] nfsd: pass parent_fh explicitly to nfsd4_process_open2() NeilBrown
2025-11-22  0:47 ` [PATCH v6 09/14] nfsd: revert nfsd4: delay setting current_fh in open NeilBrown
2025-11-22  0:47 ` [PATCH v6 10/14] nfsd: simplify clearing of current-state-id NeilBrown
2025-11-22  0:47 ` [PATCH v6 11/14] nfsd: simplify use of the current stateid NeilBrown
2025-11-22  0:47 ` [PATCH v6 12/14] nfsd: simplify saving " NeilBrown
2025-11-22  0:47 ` [PATCH v6 13/14] nfsd: discard current_stateid.h NeilBrown
2025-11-22  0:47 ` [PATCH v6 14/14] nfsd: conditionally clear seqid when current_stateid is used NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox