[f2fs-dev] [PATCH] f2fs: remove circular locking between sb_internal and fs_reclaim

2021-10-14 Thread Daeho Jeong
From: Daeho Jeong We detected the below circular locking dependency between sb_internal and fs_reclaim. So, removed it by calling dquot_initialize() before sb_start_intwrite(). == WARNING: possible circular locking dependency detected --

[f2fs-dev] [PATCH v2] f2fs: compress: fix overwrite may reduce compress ratio unproperly

2021-10-14 Thread Fengnan Chang
when overwrite only first block of cluster, since cluster is not full, it will call f2fs_write_raw_pages when f2fs_write_multi_pages, and cause the whole cluster become uncompressed eventhough data can be compressed. this may will make random write bench score reduce a lot. root# dd if=/dev/zero o