Skip to content

afs: Dynamic root improvements

David Howells linux-fsdevel lkml 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3afs: Make /afs/.<cell> as well as /afs/<cell> mountpointsfs/afs/cell.c fs/afs/dynroot.c+41 -240 replies
2/3afs: Add rootcell checksfs/afs/cell.c fs/afs/proc.c+15 -10 replies
3/3afs: Make /afs/@cell and /afs/.@cell symlinksfs/afs/dynroot.c include/trace/events/afs.h+131 -480 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/3] afs: Dynamic root improvements

Here are some patches to make a number of improvements to the AFS dynamic root:

(1) Create an /afs/.<cell> mountpoint to match the /afs/<cell> mountpoint when a cell is created.

(2) Add some more checks on cell names proposed by the user to prevent dodgy symlink bodies from being created. Also prevent rootcell from being altered once set to simplify the locking.

(3) Change the handling of /afs/@cell from being a dentry name substitution at lookup time to making it a symlink to the current cell name and also provide a /afs/.@cell symlink to point to the dotted cell mountpoint.

The patches are here:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-next

Thanks,
David

Changes
=======
ver #2)
- Add more checks on the cell names.
- Prevent the rootcell from being altered once set.
- Directly create the @cell symlinks rather than going through lookup.

David Howells (3):
afs: Make /afs/.<cell> as well as /afs/<cell> mountpoints
afs: Add rootcell checks
afs: Make /afs/@cell and /afs/.@cell symlinks

 fs/afs/cell.c              |  21 +++-
 fs/afs/dynroot.c           | 227 ++++++++++++++++++++++++++-----------
 fs/afs/proc.c              |   8 +-
 include/trace/events/afs.h |   2 +
 4 files changed, 186 insertions(+), 72 deletions(-)