diff options
author | 2024-03-01 16:25:55 +0800 | |
---|---|---|
committer | 2024-03-04 09:52:58 -0800 | |
commit | 22af1b8c31cbf7daf235a4fcb975089ad8c07fbe (patch) | |
tree | 008fc570682c9d337c6677d1f02fcc7eca6bbd4b /fs/f2fs/f2fs.h | |
parent | f2fs: fix to check return value __allocate_new_segment (diff) | |
download | linux-22af1b8c31cbf7daf235a4fcb975089ad8c07fbe.tar.gz linux-22af1b8c31cbf7daf235a4fcb975089ad8c07fbe.tar.bz2 linux-22af1b8c31cbf7daf235a4fcb975089ad8c07fbe.zip |
f2fs: fix to check return value of f2fs_gc_range
f2fs_gc_range may return error, so its caller
f2fs_allocate_pinning_section should determine whether
to do retry based on ist return value.
Also just do f2fs_gc_range when f2fs_allocate_new_section
return -EAGAIN, and check cp error case in f2fs_gc_range.
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions