Re: f2fs: BUG_ON() is triggered when mount valid f2fs filesystem

From: Jaegeuk Kim
Date: Tue Apr 15 2014 - 07:07:01 EST


Hi,

Thank you for the report.
I retrieved the fault image and found out that previous garbage data
wreak such the wrong behaviors.
So, I wrote the following patch that fills one zero-block at the
checkpoint procedure.
If the underlying device supports discard, I expect that it mostly
doesn't incur any performance regression significantly.

Could you test this patch?