diff options
| author | 2026-04-19 14:53:05 -0400 | |
|---|---|---|
| committer | 2026-06-09 16:32:59 -0400 | |
| commit | ba0cde5dc81d214684b8ea0bd87414ba2f48fe02 (patch) | |
| tree | 1e2bb9ecd2b6f3e275f320273928e82d1a443b46 /scripts/Makefile.thinlto | |
| parent | NFSD: Replace idr_for_each_entry_ul in find_one_sb_stid() (diff) | |
NFSD: Track svc_export in nfs4_stid
Add an sc_export field to struct nfs4_stid so that each stateid
records the export under which it was acquired. The export
reference is taken via exp_get() at stateid creation and released
via exp_put() in nfs4_put_stid().
Open stateids record the export from current_fh->fh_export.
Lock stateids and delegations inherit the export from their
parent open stateid. Layout stateids inherit from their
parent stateid. Directory delegations record the export from
cstate->current_fh.
A subsequent commit uses sc_export to scope state revocation to a
specific export, avoiding the need to walk inode dentry aliases at
revocation time.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
