It is not a file system bug.
There is no gaurentee that the data hits disk without an explicit fsync (or clean shutdown).
Nowhere in POSIX does it specify that rename will sync data. That is what fsync is for.
(even with fsync, without additional checks, data is not gaurenteed to have hit disk... but that's another discussion.)
It is not a file system bug.
There is no gaurentee that the data hits disk without an explicit fsync (or clean shutdown).
Nowhere in POSIX does it specify that rename will sync data. That is what fsync is for.
(even with fsync, without additional checks, data is not gaurenteed to have hit disk... but that's another discussion.)