Re: [PATCH 00/13] overlay filesystem v22
From: Miklos Szeredi
Date: Thu May 29 2014 - 07:26:08 EST
On Thu, May 29, 2014 at 12:26 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
> Miklos Szeredi <miklos@xxxxxxxxxx> 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
--
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/