Skip to content

Give containers a unique client id

[email protected] linux-nfs 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NFSv4: Clean up initialisation of uniquified client id stringsfs/nfs/nfs4proc.c+34 -410 replies
2/2NFSv4: Use the net namespace uniquifier if it is setfs/nfs/nfs4proc.c+17 -40 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Give containers a unique client id

From: Trond Myklebust <[email protected]>

This series adds the missing patches to allow a container to set a unique client id using /sys/fs/nfs/net/nfs_client/identifier, and have NFS use that for any new NFS mounts that are initiated by that container.

--
v2: Fix a variable initialisation in nfs4_get_uniquifier
Switch to using preferred strscpy()

Trond Myklebust (2):
NFSv4: Clean up initialisation of uniquified client id strings
NFSv4: Use the net namespace uniquifier if it is set

 fs/nfs/nfs4proc.c | 88 +++++++++++++++++++++++++----------------------
 1 file changed, 47 insertions(+), 41 deletions(-)
Signature · 1 line
2.26.2