Re:File handling in Unix: tips, traps and outright badness
by iforgotpassword on Thursday August 13, 2020 @02:20AM
(#24140490)
NFS. Also the gdb/strace case still holds. It's really rare so many programs get away with not doing it, and then when it happened once in a honeymoon your shrug it off and restart the program.
Since 99% of the disk I/O is cached, write either success or fails completely. It's beyond scope of the userspace application to know what and when data arrives on the physical disk. Same applies to Windows as well.
Using direct I/O is different story where this is the correct behaviour.