Klaus Knopper:
> I just did not want a file to get deleted on a non-toplevel branch when
> doing snapshots with multiple rw branches. WEll, maybe my interpretation
> of what the delete=all default does is wrong, but I thought that
> delete=whiteout would be the safest opion, which only operates on the
> toplevel rw branch. Right?

As I wrote in another mail, DELETE_ALL is heavy. DELETE_WHITEOUT is
better. The motivate of I suggested RENAME_WHITEOUT is very similar to
what Klaus expects.

Current algorithm and implementations are,
DELETE_ALL
- deletes the entry on rw branch.
  real delete, instead of creating whiteout on that branch.
- process on ALL rw branches.
- create whiteout on first writable branch, starting from the branch to
  upper which holds the entry. that branch may not be top.

DELETE_WHITEOUT
- deletes the entry on first writable branch. that branch may not be
  top.
- create whiteout on that branch.

After new rename mode is accepted, I'd like to suggest new whiteout mode
which processes only toplevel rw branch, always toplevel.


Junjiro Okajima
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to