On 2025/8/7 16:44, Wang Xiaojun wrote:
This patch fixes missing space reclamation during the recovery process. In the following scenarios, F2FS cannot reclaim truncated space. case 1: write file A, size is 1G | CP | truncate A to 1M | fsync A | SPOcase 2: CP | write file A, size is 1G | fsync A | truncate A to 1M | fsync A |SPO During the recovery process, F2FS will recover file A, but the 1M-1G space cannot be reclaimed. Fixes: d624c96fb3249 ("f2fs: add recovery routines for roll-forward") Signed-off-by: Wang Xiaojun <[email protected]>
Reviewed-by: Chao Yu <[email protected]> Thanks, _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
