seastarer·2 か月前·議論It's more correct to use O_DSYNC in addition to O_DIRECT. This adds FUA to the disk write if the disk requires it for durability.
seastarer·7 か月前·議論It is actually very cheap if done right. Enterprise SSDs have write-through caches, so an O_DIRECT|O_DSYNC write is sufficient, if you set things up so the filesystem doesn't have to also commit its own logs.
seastarer·8 か月前·議論Do these calculations take into account the lengthening of the days due to tidal friction?