Checklist/Inotify

From Linux Checkpoint / Restart Wiki
Revision as of 23:01, 16 November 2009 by Mhelsley (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Issues and potential solutions with checkpoint/restart of inotify state

1. Wait descriptors refer to inodes but mentioning inode numbers in checkpoint images is forbidden.
 1. Use dentry aliases to find a path to store in the checkpoint image
 2. Change policy re: inode numbers in checkpoint images
    * Add a flag passed from userspace indicating whether inodes should be allowed in the checkpoint image.
    * Fail or fallback to dentry alias solution if the flag is missing
    * Return some indication of whether there are inode numbers in the checkpoint?
      * This affects the method used to checkpoint the filesystems.
 3. Ignore inotify, which would likely be ugly, and "do it right" with fanotify instead. (Al might like this idea)
2. Races between filesystem checkpoint and event queue checkpoint.
 * No solutions yet. fanotify may have this issue too.
Personal tools