7 ms·
"So based on this, should filesystems include a "verify-writes" mount option?" They do. You can, for instance, mount a UFS filesystem "sync", which means that
by rsync 10y ago
"So based on this, should filesystems include a "verify-writes" mount option?"
They do. You can, for instance, mount a UFS filesystem "sync", which means that all writes are synchronous. I assume extX has a similar option ...
- amelius 10y agoAfaik, "sync" means that the writes are immediate. "Verify-writes" would mean that the writes are not necessarily immedate, but that they are verified. Also be careful with sync on SSD media; this is what the mount manpage says about the sync option: > In case of media with limited number of write cycles (e.g. some flash drives) "sync" may cause life-cycle shortening.