Hacker News new | ask | show | jobs
by for_xyz 2134 days ago
Does write situation apply to linux as well?

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.

1 comments

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.
I hope you’re not fixing short writes during your honeymoon…