Messages in this thread | | | Date | Thu, 29 May 2014 13:26:00 +0200 | Subject | Re: [PATCH 00/13] overlay filesystem v22 | From | Miklos Szeredi <> |
| |
On Thu, May 29, 2014 at 12:26 PM, David Howells <dhowells@redhat.com> wrote: > Miklos Szeredi <miklos@szeredi.hu> wrote: > >> Perfect solution would be an invisible temp directory. This needs filesystem >> support, but perhaps not so difficult. Again could be done later without >> backward compatibility issues. > > Maybe make a tempfile and hardlink it into place when complete. That's what > unionmount is doing.
That doesn't work with RENAME_EXCHANGE, which is what overlayfs uses.
I think that's a small price to pay for not needing to add whiteout support to every single directory operation.
We could also implement RENAME_EXCHANGE with a tmpfile, but then again, I think that may be too much complexity for too little gain.
Thanks, Miklos
| |