4 ms·
So based on this, should filesystems include a "verify-writes" mount option? Or would this functionality somehow be counteracted by a cache inside the SSD? Pe
by amelius 10y ago
So based on this, should filesystems include a "verify-writes" mount option?
Or would this functionality somehow be counteracted by a cache inside the SSD?
Perhaps filesystems should include a "ssd" mount option, because there might be more things to worry about (for example frequent writes wearing out the device).
- eru 10y agoThe block device abstraction needs to leak more.
- 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.