diff options
| author | Chao Yu <[email protected]> | 2025-07-24 08:01:43 +0000 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2025-07-28 16:36:42 +0000 |
| commit | e194e140ab7de2ce2782e64b9e086a43ca6ff4f2 (patch) | |
| tree | 7af736069af7637ac5e390164f94e6b7b2ae6736 /rust/helpers/helpers.c | |
| parent | f2fs: fix to update upper_p in __get_secs_required() correctly (diff) | |
| download | kernel-e194e140ab7de2ce2782e64b9e086a43ca6ff4f2.tar.gz kernel-e194e140ab7de2ce2782e64b9e086a43ca6ff4f2.zip | |
f2fs: fix to calculate dirty data during has_not_enough_free_secs()
In lfs mode, dirty data needs OPU, we'd better calculate lower_p and
upper_p w/ them during has_not_enough_free_secs(), otherwise we may
encounter out-of-space issue due to we missed to reclaim enough
free section w/ foreground gc.
Fixes: 36abef4e796d ("f2fs: introduce mode=lfs mount option")
Cc: Daeho Jeong <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
