chiark / gitweb /
TODO: add autofs expire details
authorKay Sievers <kay@vrfy.org>
Wed, 16 Jan 2013 04:01:04 +0000 (05:01 +0100)
committerKay Sievers <kay@vrfy.org>
Wed, 16 Jan 2013 04:01:04 +0000 (05:01 +0100)
TODO

diff --git a/TODO b/TODO
index f8ea2368de877e57e120e40a0dc0e3e5262ed2b2..f9279669d4a74f67b60c04b6085508f2f394b779 100644 (file)
--- a/TODO
+++ b/TODO
@@ -382,7 +382,16 @@ Features:
 
 * readahead: make use of EXT4_IOC_MOVE_EXT, as used by http://e4rat.sourceforge.net/
 
-* automount: implement expire
+* automount: implement expire:
+   - set superblock timeout AUTOFS_DEV_IOCTL_TIMEOUT_CMD
+   - periodically run AUTOFS_DEV_IOCTL_EXPIRE_CMD
+     - every timeout/4 (original autofs logic)
+     - blocking, needs a thread
+     - run until -EAGAIN
+   - receive expire packet on pipe if kernel tells the timeout is over
+     - call umount
+     - answer expire packet on pipe with AUTOFS_DEV_IOCTL_{READY,FAIL}_CMD
+   - AUTOFS_DEV_IOCTL_EXPIRE_CMD returns
 
 * services which create their own subcgroups break cgroup-empty notification (needs to be fixed in the kernel)