summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2025-11-28 17:25:07 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2025-12-04 02:00:05 +0000
commit37345eae9deaa2e4f372eeb98f6594cd0ee0916e (patch)
tree0ed85cf64654584e3039bcb50c2e1a20dd85617a /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent8f11fe52fc1fa39ccfaa7c1e256f53e35d2839fa (diff)
f2fs: fix to not account invalid blocks in get_left_section_blocks()
w/ LFS mode, in get_left_section_blocks(), we should not account the blocks which were used before and now are invalided, otherwise those blocks will be counted as freed one in has_curseg_enough_space(), result in missing to trigger GC in time. Cc: stable@kernel.org Fixes: 249ad438e1d9 ("f2fs: add a method for calculating the remaining blocks in the current segment in LFS mode.") Fixes: bf34c93d2645 ("f2fs: check curseg space before foreground GC") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions