Commit d53238b6 authored by Chao Yu's avatar Chao Yu Committed by Gao Xiang
Browse files

erofs: fix to add missing tracepoint in erofs_readahead()



Commit 771c994e ("erofs: convert all uncompressed cases to iomap")
converts to use iomap interface, it removed trace_erofs_readahead()
tracepoint in the meantime, let's add it back.

Fixes: 771c994e ("erofs: convert all uncompressed cases to iomap")
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250707084832.2725677-1-chao@kernel.org


Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 86731a2a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -356,6 +356,9 @@ static int erofs_read_folio(struct file *file, struct folio *folio)

static void erofs_readahead(struct readahead_control *rac)
{
	trace_erofs_readahead(rac->mapping->host, readahead_index(rac),
					readahead_count(rac), true);

	return iomap_readahead(rac, &erofs_iomap_ops);
}