summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-01-16 05:01:04 +0100
committerKay Sievers <kay@vrfy.org>2013-01-16 05:01:04 +0100
commitd3a3f22267a7dac426b07a7ed0baa1632f5daf04 (patch)
tree1c4aa4622f7d6c2e0fa8eaca779c3a0acfa95228 /TODO
parentbdffb521d01a2e2bc342154d74cb519755c52c25 (diff)
TODO: add autofs expire details
Diffstat (limited to 'TODO')
-rw-r--r--TODO11
1 files changed, 10 insertions, 1 deletions
diff --git a/TODO b/TODO
index f8ea2368d..f9279669d 100644
--- 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)