Re:Fast Commits for Ext4
by AdamJacobMuller on Friday January 15, 2021 @06:59PM
(#25798307)
No, it might sync some metadata for other files, but it won't sync their data.
[ Parent
| on HN ]
Are you certain? The quote actually says:
> With ext4, as a side effect of the filesystem structure, *all pending data and metadata for all file descriptors* will be flushed instead.
Is the article mistaken?
manpage suggests the article is not mistaken. `max_batch_time=0` disables batch processing synchronous write operations. the default is 15ms.
It seems like a good idea for client filesystem to mount synchronously for data integrity. I'm not aware of i/o being a factor here.
Of course this doesn't prevent applications mishandling of file objects.