Shaya Potter wrote:
> Josef Sipek wrote:
> The symptom is that we are not removing whiteouts on create. The
first test
case of create.sh leaves 2 whiteouts behind:
/n/lower/b0/d1/.wh.x
/n/lower/b2/d1/d2/d3/d4/.wh.d
However, it doesn't fix the d4 case, as d4 only exists in one branch, so
the whiteout is somewhat pointless, as there's nothing to white out. (in
the b0/d1 case, b1/d1 contained an x directory so the whiteout
accomplished something)
so my optimization (for create type ops, as lookup/unlink would still be
fine) is useless IF you want to handle the d4 case. i.e. my
optimization assumes that won't happen, i.e. a whiteout existing in a
directory that only exists in one branch, so its up to you how to handle
that.
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs