|
|
Subscribe / Log in / New account

Fast commits for ext4

Fast commits for ext4

Posted Jan 19, 2021 14:24 UTC (Tue) by jan.kara (subscriber, #59161)
Parent article: Fast commits for ext4

> In the default data=ordered mode, where the journal entry is written only after flushing all pending data, delayed allocation might thus delay the writing of the > journal.

This is actually not quite correct. Delayed allocation just means that write(2) stores data in the page cache without actually allocating blocks on disk. This also means that the journalling machinery is completely ignorant of the write at this moment. Later, when VM decides to write out dirty pages from the page cache, filesystem allocates blocks for the pages and it is only at this point that there are filesystem metadata changes that are journalled. So it isn't true that "delayed allocation may delay writing of the journal".


to post comments

Fast commits for ext4

Posted Feb 8, 2021 15:58 UTC (Mon) by mrybczyn (subscriber, #81776) [Link]

Thank you for the comment, Jan. We've clarified the sentence.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds