summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2024-07-03 15:00:50 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-07-08 17:09:42 +0300
commit5b9654efb60423284dd0f8845812ac7216f60858 (patch)
tree3c4056041af4167f7ee831d6ef80d3376849a82f /scripts/lib/kdoc
parent90cd33d79338b9df75ae91d1452be10e40443527 (diff)
downloadlinux-5b9654efb60423284dd0f8845812ac7216f60858.tar.xz
erofs: teach z_erofs_scan_folios() to handle multi-page folios
Previously, a folio just contains one page. In order to enable large folios, z_erofs_scan_folios() needs to handle multi-page folios. First, this patch eliminates all gotos. Instead, the new loop deal with multiple parts in each folio. It's simple to handle the parts which belong to unmapped extents or fragment extents; but for encoded extents, the page boundaries needs to be considered for `tight` and `split` to keep inplace I/Os work correctly: when a part crosses the page boundary, they needs to be reseted properly. Besides, simplify `tight` derivation since Z_EROFS_PCLUSTER_HOOKED has been removed for quite a while. Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20240703120051.3653452-3-hsiangkao@linux.alibaba.com
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions