Re: [PATCH 14/39] union-mount: Union mounts documentation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: J. R. Okajima
Date: Monday, August 23, 2010 - 7:28 pm

Thank you for explanation, very much.

Valerie Aurora:

Basically agreed.



Because users can hide the layers (such like UnionMount) if they want,
and it totally prohibits bypassing aufs. Additionally they modify on the
layer directly (bypassing aufs) only when it is really necessary. So the
default value of the option is not a strict one. And users can change
the option dynamically.



When a rename happens on a layer directly, aufs receives a
inotify/fsnotify event. Following the event type, aufs makes the cached
dentry/inode obsoleted and they will be lookup-ed again in the
succeeding access. Finally aufs will know the upper parent_dir1 is not
covering the lower parent_dir2 anymore.
This notification is the main purpose of the strict option which is
called "udba=notify" (User's Direct Branch Access).


	:::

No, deadlock will not happen since aufs knows the new parent-child
relationship. By using inotify/hinotify in above answer, I hope you
would agree with that.



I am afraid that still I may not understand what you wrote well.
Do you mean that upgrading a package involves updating seveal files and
their version have to be matched with each other within the package, and
upgrading different package in both of upper and lower layer directly
causes mismatch among those files?

Although I don't think you are talking about an aufs utility aubrsync
which runs rsync between layers, I don't understand about "putting this
policy decision into the VFS". The simple rule "the upper file hides the
lower" is out of VFS.


J. R. Okajima
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 14/39] union-mount: Union mounts documentation, Valerie Aurora, (Sun Aug 8, 8:52 am)
Re: [PATCH 14/39] union-mount: Union mounts documentation, J. R. Okajima, (Tue Aug 10, 6:51 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, Luca Barbieri, (Tue Aug 17, 5:15 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, J. R. Okajima, (Tue Aug 17, 6:23 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, Valerie Aurora, (Wed Aug 18, 11:55 am)
Re: [PATCH 14/39] union-mount: Union mounts documentation, Valerie Aurora, (Wed Aug 18, 12:04 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, J. R. Okajima, (Wed Aug 18, 6:34 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, J. R. Okajima, (Mon Aug 23, 7:28 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, Valerie Aurora, (Tue Aug 24, 1:48 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, Christian Stroetmann, (Tue Aug 24, 7:59 pm)
Re: [PATCH 14/39] union-mount: Union mounts documentation, J. R. Okajima, (Tue Aug 24, 10:03 pm)