lkml.org 
[lkml]   [2005]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 12/18] shared mount handling: bind and rbind
From
Date
> Before it gets freed it may end up being copied.  Example: vfsmounts
> A and B are peers, C is a slave of that peer group. It happens to be
> on slave list of B. B has root deeper than A, which, in turn is deeper
> than that of C (e.g. A and B had been created by binding subtrees of
> C, which had been made slave afterwards). We bind on something in A,
> outside of the subtree mapped by B.
>
> Alternatively, have A -> (B, D) -> C, with C on slave list of B. Mountpoint
> is within subtrees for A, C and D, but not B. And no, we can't say "skip B,
> just make a slave of tree on A and slap it on C" - correct result is to
> have T_A -> T_D -> T_C (i.e. tree on C gets propagation from tree on D).
> Which kills the variants with not creating that copy and making subsequent
> ones directly from the original tree.

OK, I see it now. What confused me is that from patch 12 it's not yet
obvious, that the copied mount will be used for futher propagation.

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-09 17:36    [W:4.104 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site