Re: fsync() after close() and re-open -- insights appreciated

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

 



Hello Amir,

thanks a lot for your reply!

> Are you asking the question without being aware of all the discussions
> that led to this patch https://lkml.org/lkml/2018/4/23/994

Yes, I was not aware of those.

Am I right assuming that what you mention is what Posgres is now
referring to as "fsyncgate" (https://wiki.postgresql.org/wiki/Fsync_Errors)?

> The short answer is no, the latter provides a better guaranty.
> The longer answer is that durability guarantees depends on kernel version,
> because situation has been changing in v4.13, v4.14 and now again in
> v4.17-rc and stable kernels.

Thanks for this summary.

>> Being able to link to an authorative answer would be very appreciated.
>
> Sadly, there is no documentation at the level that you desire.

Ah, I was calling the the answer I might get on this list the
authoritative answer that I would link to :)

Niklas



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux