summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorNanzhe Zhao <nzzhao@126.com>2026-01-11 18:09:41 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2026-01-17 00:00:35 +0000
commitd194f112a9e6504ea23bd4a7b350c089fae9defd (patch)
tree373c0b784db5b7d51347e5561eab126332a10fee /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent6afd05ca6d45b834af36c8e1257e7203b2604583 (diff)
f2fs: advance index and offset after zeroing in large folio read
In f2fs_read_data_large_folio(), the block zeroing path calls folio_zero_range() and then continues the loop. However, it fails to advance index and offset before continuing. This can cause the loop to repeatedly process the same subpage of the folio, leading to stalls/hangs and incorrect progress when reading large folios with holes/zeroed blocks. Fix it by advancing index and offset unconditionally in the loop iteration, so they are updated even when the zeroing path continues. Signed-off-by: Nanzhe Zhao <nzzhao@126.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions