Re: [PATCH 6/7 v3] overlay: hybrid overlay filesystem prototype

From: Andreas Gruenbacher
Date: Mon Sep 27 2010 - 07:49:56 EST


On Monday 27 September 2010 10:11:53 Miklos Szeredi wrote:
> [...] marking new directories opaque is only a half solution.
> E.g. consider the case when we have /a/b/c/ on the lower fs
> and /a/b/ on the upper, which is not opaque. Then /a/b/c/ is created
> on the upper fs off-line. The union logic can't notice that "c"
> should really be opaque and will merge with the contents of the lower
> layer.

I can think of arguments for either behavior, perhaps with a slight preference
for your suggestion (default = opaque).

In any case, admins will need a way to flip opaque flags and remove undesired
whiteouts.

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