[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Safe File Update (atomic)



On Thu, Dec 30, 2010 at 6:48 PM, Henrique de Moraes Holschuh
<hmh@debian.org> wrote:
>> Why not?
>
> You touched it, it is not the same file/inode anymore.

That's again a regression from the non-atomic case.

>> How does it handle meta-data you don't know about yet?
>
> It doesn't.  You need a "copy inode without the file data" filesystem
> interface to be able to do that in the first place.  It might exist, but I
> never heard of it.

You wouldn't need that with O_ATOMIC.

Olaf


Reply to: