Skip to content

Autofs NG Patchset 0.2

Mike Waychison linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest28 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28VFS: Unexport umount_treefs/namespace.c include/linux/namespace.h+1 -20 replies
2/28VFS: mnt_fslink -> mnt_expirefs/namespace.c include/linux/mount.h+13 -130 replies
3/28VFS: Move expiry into vfsfs/namespace.c include/linux/mount.h+57 -241 reply
4/28VFS: Stat shouldn't stop expirefs/namei.c+10 -12 replies
5/28VFS: Make expiry timeout configurablefs/namespace.c include/linux/mount.h+27 -120 replies
6/28VFS: Make expiry recursivefs/namespace.c include/linux/mount.h+179 -601 reply
7/28AFS: Update AFS to use new expiry interfacefs/afs/cmservice.c fs/afs/mntpt.c fs/afs/super.c+7 -340 replies
8/28VFS: Remove MNT_EXPIRE supportfs/namespace.c include/linux/fs.h+9 -376 replies
9/28VFS: Give sane expiry semanticsDocumentation/filesystems/expire_semantics.txt fs/namespace.c+202 -80 replies
10/28VFS: Move next_mnt()fs/namespace.c+16 -160 replies
11/28VFS: Allow for detachable subtreesfs/namespace.c fs/super.c include/linux/mount.h+263 -600 replies
11/28VFS: Allow for detachable subtrees (resend)fs/namespace.c fs/super.c include/linux/mount.h+263 -600 replies
12/28VFS: Remove (now bogus) check_mntfs/namespace.c+11 -302 replies
13/28VFS: Introduce soft reference countsfs/namespace.c include/linux/mount.h+32 -05 replies
15/28VFS: Mountpoint file descriptor umount supportfs/mountfd.c fs/namespace.c include/linux/fs.h+25 -22 replies
16/28VFS: Mountpoint file descriptor attach supportfs/mountfd.c include/linux/fs.h+36 -00 replies
17/28VFS: Mountpoint file descriptor walkingfs/mountfd.c include/linux/fs.h+49 -00 replies
18/28VFS: Mountpoint file descriptor read propertiesfs/mountfd.c include/linux/fs.h+119 -10 replies
19/28VFS: Mountpoint file descriptor expiry supportfs/mountfd.c include/linux/fs.h+11 -00 replies
20/28HOTPLUG: call_usermodehelper callback supportinclude/linux/kmod.h kernel/kmod.c+63 -192 replies
21/28HOTPLUG: Hack to allow for call to execveinclude/linux/kmod.h kernel/kmod.c+8 -00 replies
22/28VFS: Export put_namespacefs/namespace.c+1 -00 replies
23/28VFS: Export get_sb_pseudofs/libfs.c+1 -00 replies
24/28VFS: Fixup for ->follow_link on root of filesystemfs/namei.c+2 -00 replies
25/28VFS: statfs(64) shouldn't follow last component symlinkfs/open.c+2 -22 replies
26/28VFS: Introduce MNT_NOFOLLOWfs/namespace.c include/linux/fs.h+3 -10 replies
27/28Testing syscall for expiryarch/i386/kernel/entry.S fs/namespace.c include/asm-i386/unistd.h+35 -11 reply
28/28AUTOFSNG: New autofs filesystem (resend)fs/Kconfig fs/Makefile fs/autofsng/Makefile +8 more+2107 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/28] Autofs NG Patchset 0.2

Hi All,

The following patchset (against 2.6.9) is a breakdown of all the changes required to support autofng (currently hosted at http://autofsng.bkbits.net/).
I'm posting this patchset to get more people's eyes on the code.

The series consists of core vfs changes as well as a couple small changes to
the call_usermodehelper interface. I've also sent the autofsng filesystem as a single patch to introduce it seperated from the rest of the changes.

This isn't ready for inclusion as there are bound to be errors and the interfaces described haven't settled.

Please review / test / comment / flame.

01-unexport_umount_tree.diff
- drop an export with no intree users

02-rename_mnt_fslink_mnt_expire.diff
- give vfsmount->mnt_fslink a more appropriate name

03-move_expiry_into_vfs.diff
- pull expiry stuff that was recently added to be contained within vfs

04-stat_on_root_shouldnt_stop_expire.diff
- don't let ops on the root of a mountpoint affect expiry timeouts

05-expiry_is_countdown.diff
- mountpoint expiry now has configurable timeouts

06-expiry_is_recursive.diff
- allow for atomic expiry of subtrees of mountpoints

07-update_kafs_automount_expiry.diff
- update AFS to use new expiry interface

08-drop_expire_umount_flag.diff
- drop unused old expiry interface (MNT_EXPIRE flag to umount(2))

09-expiry_semantics_bind.diff
- fix up the expiry semantics and document them

10-move_next_mnt.diff
- move next_mnt() in preparation for later patches

11-detachable_subtrees.diff
- allow subtrees of mountpoints to not be bound to a struct namespace

12-remove_check_mnt.diff
- remove the now bogus check_mnt calls (bogus with detachable_subtree.diff)

13-introduce_soft_ref_counts.diff
- introduce 'soft' reference counts that don't affect umount(2) == EBUSY semantics

14-introduce_mountfd.diff
- introduce the mountfd() syscall

15-mountfd_umounts.diff
- add unmount functionality to mountfd interface

16-mountfd_attach.diff
- add attach interface to mountfd interface

17-mountfd_walk.diff
- allow for userspace to walk a tree of mountfds

18-mountfd_read.diff
- allow for reading properties of a mountfd

19-mountfd_vfsexpire.diff
- give vfs expiry an interface through mountfds

20-call_usermodehelper_cb.diff
- add a way to have a caller of call_usermodehelper get a callback before execvce.

21-call_usermodehelper_execve_hack.diff
- quick hack that allows for execve to be called without having to define errno.

22-export_put_namespace.diff
- autofsng wants to call put_namespace. export it.

23-export_get_sb_pseudo.diff
- autofsng wants get_sb_pseudo.

24-follow_link_on_root.diff
- update follow_link logic to pass the right vfsmount to follow_link on root directory.

25-statfs_nofollow.diff
- hack - statfs doesn't follow symlink on last component.

26-umount_mnt_nofollow.diff
- allow umount to not follow symlink on last component.

27-temp_expiry_syscall.diff
- dummy interface to expiry testing

28-autofsng_support.diff
- big patch for autofsng.