Re: [PATCH 17/39] union-mount: Union mounts documentation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Valdis.Kletnieks
Date: Monday, May 3, 2010 - 6:54 pm

On Mon, 03 May 2010 16:12:16 PDT, Valerie Aurora said:


I spent some time looking at patch 27 trying to figure it out for myself,
but my lack of splice()-fu doomed me. :)

A few quick questions:

1) For calls like chmod() that only touch the metadata, does it still
trigger a copyup of the data, or just the affected metadata?

2) Is the copyup of data synchronous or async done in the background?
The comments in union_copyup_len() about "We raced with someone else"
imply this is synchronous - if so. probably a note should be made that
an open() may take a little while under some conditions.  There's a *lot* of
code out there that assumes that open() calls are *really* cheap.

I wonder how many programs don't correctly deal with an ENOSPC on open() of
an already existing file.

(The answers probably don't matter unless somebody ends up invoking a
copyup of a gigabyte file, which of course implies one of my users will end up
doing exactly that. :)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 17/39] union-mount: Union mounts documentation, Valerie Aurora, (Mon May 3, 4:12 pm)
Re: [PATCH 17/39] union-mount: Union mounts documentation, Valdis.Kletnieks, (Mon May 3, 6:54 pm)
Re: [PATCH 17/39] union-mount: Union mounts documentation, Valerie Aurora, (Wed May 5, 6:06 am)
Re: [PATCH 17/39] union-mount: Union mounts documentation, Valerie Aurora, (Wed May 5, 6:19 am)