Skip to content

Add NFSv3 emulation of the lookupp operation

[email protected] linux-nfs 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Fix the string length calculation
- Apply the NFS_MOUNT_SOFTREVAL flag in both the NFSv3 and NFSv4 lookupp

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NFSv3: Refactor nfs3_proc_lookup() to split out the dentryfs/nfs/nfs3proc.c+22 -110 replies
2/3NFSv3: Add emulation of the lookupp() operationfs/nfs/nfs3proc.c+15 -00 replies
3/3NFSv4: Observe the NFS_MOUNT_SOFTREVAL flag in _nfs4_proc_lookuppfs/nfs/nfs4proc.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Add NFSv3 emulation of the lookupp operation

From: Trond Myklebust <[email protected]>

In order to use the open-by-filehandle functionality with NFSv3, we need to ensure that the NFS client can convert disconnected dentries into connected ones by doing a reverse walk of the filesystem path. To do so, NFSv4 provides the LOOKUPP operation, which does not exist in NFSv3, but which can usually be emulated using lookup("..").

v2:
- Fix compilation issues for "NFSv3: Refactor nfs3_proc_lookup() to split out the dentry"
v3:
- Fix the string length calculation
- Apply the NFS_MOUNT_SOFTREVAL flag in both the NFSv3 and NFSv4 lookupp

Trond Myklebust (3):
NFSv3: Refactor nfs3_proc_lookup() to split out the dentry
NFSv3: Add emulation of the lookupp() operation
NFSv4: Observe the NFS_MOUNT_SOFTREVAL flag in _nfs4_proc_lookupp

 fs/nfs/nfs3proc.c | 48 ++++++++++++++++++++++++++++++++++++-----------
 fs/nfs/nfs4proc.c |  6 +++++-
 2 files changed, 42 insertions(+), 12 deletions(-)
Signature · 1 line
2.26.2