On 2024/2/21 4:33, Jaegeuk Kim wrote:
@@ -4723,7 +4723,7 @@ static int f2fs_fill_super(struct super_block *sb, void
*data, int silent)
.reason = CP_DISCARD,
.trim_start = 0,
.trim_end = MAIN_SEGS(sbi) - 1,
- .trim_minlen = sbi->blocks_per_seg,
+ .trim_minlen = BLKS_PER_SEG(sbi),
We don't have this.
Oh, it's due to my branch is not clean... I should rebase this diff to
last dev-test, sorry.
Thanks,
};
f2fs_write_checkpoint(sbi, &cpc);
}
--
2.40.1
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel