mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
erofs: fix to add missing tracepoint in erofs_readahead()
[ Upstream commitd53238b614
] Commit771c994ea5
("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:771c994ea5
("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/20250707084832.2725677-1-chao@kernel.org Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ea2350dfa3
commit
fd67f52eea
|
@ -391,6 +391,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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user