Skip to content

autofs4 - add direct mount functionality to autofs

Ian Kent autofs linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4autofs4 - nameidata needs to be up to date for follow_linkfs/namei.c+21 -180 replies
2/4autofs4 - add v5 follow_link mount trigger methodfs/autofs4/autofs_i.h fs/autofs4/inode.c fs/autofs4/root.c+103 -222 replies
3/4autofs4 - add v5 expire logicfs/autofs4/expire.c+87 -90 replies
4/4autofs4 - add new packet type for v5 communicationsfs/autofs4/autofs_i.h fs/autofs4/waitq.c include/linux/auto_fs4.h+136 -240 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC:PATCH 0/4] autofs4 - add direct mount functionality to autofs

These patches are for autofs version 5.

This is the second set of patches for autofs to support the user space daemon (automount from the autofs package) implementation of direct mounts and lazy mount and expire of nested mount maps, such as those found in mounting the NFS exports from a host, known as a "hosts" map.

I'd like to thank my collegue, Jeff Moyer at RedHat for his efforts reviewing all the autofs patches, both this set and previous patches. His efforts have made a big difference to the quality and accuracy of autofs in general for a long time now.

The changes implemented in the patch set are:

1) update-nameidata-on-follow_link - autofs needs the nameidata struct to be up to date wrt the dentry passed to the inode follow_link operation.
2) v5-follow_link - defines the version 5 inode follow_link operation used to trigger direct mounts.
3) v5-expire - update expire to handle version 5 direct mounts.
4) v5-packet-proto - update communication packet to support version 5 extended packet information.

Comments and suggstions please.