On 11/5/25 00:24, Daeho Jeong wrote:
>  static void write_sum_page(struct f2fs_sb_info *sbi,
> -                     struct f2fs_summary_block *sum_blk, block_t blk_addr)
> +             struct f2fs_summary_block *sum_blk, unsigned int segno)
>  {
> -     f2fs_update_meta_page(sbi, (void *)sum_blk, blk_addr);
> +     struct folio *folio;

w/ 4k-sized block config, I suffered performance regression issue while testing
fallocate() on pinfile.

Seems we need to add below code:

        if (SUMS_PER_BLOCK == 1)
                return f2fs_update_meta_page(sbi, (void *)sum_blk,
                                        GET_SUM_BLOCK(sbi, segno));

Otherwise, we will load summary block whenever we change segment for curseg.

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to