lkml.org 
[lkml]   [2014]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 00/13] overlay filesystem v22
From
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


\
 
 \ /
  Last update: 2014-05-29 14:01    [W:0.215 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site