On Wed 15-02-12 19:34:06, Jan Kara wrote: > Hello, > > this is a third round of my checkpointing fixes. The patch set is primarily > aimed at fixing filesystem corruption happening occasionally (rather rarely) > after power failure. First three patches should fix the issue. Patches 4-7 are > assorted checkpointing cleanups I've gathered when inspecting checkpointing > code. Finally patch 8 is a possible speedup of checkpoining - we can use cache > flushes happening during transaction commits for pushing the journal tail > safely. The observable speedup is disputable since jbd2_cleanup_journal_tail() > is called rather rarely (for metadata heavy load I saw about one > jbd2_cleanup_journal_tail() for about 200 commits) so the cost of additional > cache flush will be likely in the noise. But the patch is simple enough so I > send it for others to judge whether it makes sense or not. > > Changes since v2: > Rewrote the code pushing log tail to fix race described by Ted. > Improved some comments Ted, do you plan to have a look at this? It would be nice to get these fixes in for the next merge window... Honza -- Jan Kara <jack@xxxxxxx> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html