bcachefs
bcachefs
Posted Feb 22, 2025 23:23 UTC (Sat) by koverstreet (subscriber, #4296)In reply to: bcachefs by NYKevin
Parent article: Filesystem support for block sizes larger than the page size
> Many applications which deal with "document-like" data tend to load the entire document into memory, operate on it, and then write it back out to save the changes. The needed atomicity here is that the changes either are completely applied or not applied at all, as an inconsistent state would render the file corrupt. A common approach is to write the document to a new file, then replace the original file with the new one. One method to do this is with the ReplaceFile API.
Yeah, I tend to agree with Microsoft :) I'm not aware of applications that would benefit, but if you do know of some please let me know.
I'm more interested in optimizations for fsync overhead.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
