• J. R. Okajima's avatar
    aufs: hnotify 1/3, headers · 9dc58c2b
    J. R. Okajima authored
    
    
    This is the hardest test to support UDBA (users' direct branch access).
    It uses 'fsnotify' internally.  Detecting UDBA, decrements the
    generation of the cached aufs objects.  In the next access to the file,
    aufs detects the generation is obsoleted and tries refreshing it.
    Eventually aufs cache will be updated to latest status.
    
    The fsnotify is set on the cached dirs on the non-RR branches.
    The RR (real readonly) branches will never be modified and it is
    unnecessary to set fsnotify for them.
    
    This commit is for the declarations mainly, and the body parts will be
    in succeeding commits.
    
    This feature is compiled only when CONFIG_AUFS_HNOTIFY is enabled.
    See also the document in this commit.
    Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
    9dc58c2b
file.c 5 KB