aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2025-07-08 19:19:42 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-07-10 17:08:26 +0800
commit99f7619a77a0a2e3e2bcae676d0f301769167754 (patch)
tree4b2cf7e6ffff9233ca004c8640ada1215a95f0cb
parenterofs: fix to add missing tracepoint in erofs_readahead() (diff)
downloadwireguard-linux-99f7619a77a0a2e3e2bcae676d0f301769167754.tar.xz
wireguard-linux-99f7619a77a0a2e3e2bcae676d0f301769167754.zip
erofs: fix to add missing tracepoint in erofs_read_folio()
Commit 771c994ea51f ("erofs: convert all uncompressed cases to iomap") converts to use iomap interface, it removed trace_erofs_readpage() tracepoint in the meantime, let's add it back. Fixes: 771c994ea51f ("erofs: convert all uncompressed cases to iomap") Signed-off-by: Chao Yu <chao@kernel.org> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20250708111942.3120926-1-chao@kernel.org Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
-rw-r--r--fs/erofs/data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/erofs/data.c b/fs/erofs/data.c
index 534ac359976e..221e0ff1ed0d 100644
--- a/fs/erofs/data.c
+++ b/fs/erofs/data.c
@@ -351,6 +351,8 @@ int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
*/
static int erofs_read_folio(struct file *file, struct folio *folio)
{
+ trace_erofs_read_folio(folio, true);
+
return iomap_read_folio(folio, &erofs_iomap_ops);
}