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 <[email protected]> Reviewed-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Gao Xiang <[email protected]>
1 parent d53238b commit 99f7619

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)