D
Deleted member 11852
Guest
Ouch, don't use a Mac running MacOS if you need robust data integrity and durability. It's a long thread with a lot of information.
The guy is highlighting that Apple's "fsync()" differs from of modern linux. When macOS (OSX) was created, fsync on both platforms behaved the same and over time, around kernel 2.5/2,6?, linux changed the behaviour of fsync to include a flush of data to permanent storage (not drive cache). On macOS apple added a new function (f_fullsync) instead.
I don't think the issue here is macOS, it is the drives that ignore lower level Force Unit Access mode. There are two levels of flush, the first is where you flush what's in the OS buffers to the drive (including the drive's cache) and the second is where you flush everything to permanent storage. Some drive firmware does not follow the latter's instruction, and this is why this impacts some non-Apple drives.
So let's not go crazy overboard with the data integrity issue, eh?