> On 13 Jun 2016, at 10:13pm, Richard Hipp <d...@sqlite.org> wrote:
>
> The rename-is-atomic assumption is so
> wide-spread in the Linux world, that the linux kernel was modified to
> make renames closer to being atomic on common filesystems such as
> EXT4.

http://man7.org/linux/man-pages/man2/rename.2.html

I am interested to know what it would take to make linux renames fully atomic.
Reading it as is it feels like the action of rename would be the most important
piece to making rename atomic.  The docs claim this is atomic.  What other
aspects would be necessary?

Maybe the issue is simply that although there "is no point at which
another process
attempting to access newpath will find it missing", the "another
process" doesn't know
when the file is fully written to disk?

Apologies if this is too off topic or obvious to everybody else.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to