summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorZhan Xusheng <zhanxusheng@xiaomi.com>2026-06-17 10:43:34 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2026-06-18 11:19:33 +0300
commit28c5d230980bdd8cb18c073225296c7747995935 (patch)
tree98ef88c56a7302dc8ea66164a695d2061df15c60 /scripts/Makefile.thinlto
parent99980e9a7eca5ba3f4a2892acb0ccdcc7fe1dd8f (diff)
downloadlinux-28c5d230980bdd8cb18c073225296c7747995935.tar.xz
erofs: add folio order to trace_erofs_read_folio
erofs supports large folios for reads, but the actual folio order instantiated in the page cache may be lower due to allocation constraints such as memory fragmentation. trace_erofs_read_folio already receives the folio being read but currently records only its index. Add folio_order() to the tracepoint so that users can observe the realized folio order and verify the effectiveness of large folio reads. Also drop the uptodate field: read_folio() is only called for a non-uptodate folio, so it is always 0. Suggested-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions