Skip to content

Commit 99f7619

Browse files
chaseyuhsiangkao
authored andcommitted
erofs: fix to add missing tracepoint in erofs_read_folio()
Commit 771c994 ("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: 771c994 ("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>
1 parent d53238b commit 99f7619

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fs/erofs/data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
351351
*/
352352
static int erofs_read_folio(struct file *file, struct folio *folio)
353353
{
354+
trace_erofs_read_folio(folio, true);
355+
354356
return iomap_read_folio(folio, &erofs_iomap_ops);
355357
}
356358

0 commit comments

Comments
 (0)