diff options
author | Chao Yu <chao@kernel.org> | 2025-07-08 19:19:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-17 18:43:54 +0200 |
commit | 8cc9c460ce6f4dbe0a06a618afe6f5e640dd24f4 (patch) | |
tree | 168c866ee41bdd54d9b8135e463f73d89315df28 | |
parent | 4b1ed88677ea231f734cd36104dd3d2e6e17a4d8 (diff) |
erofs: fix to add missing tracepoint in erofs_read_folio()
commit 99f7619a77a0a2e3e2bcae676d0f301769167754 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | fs/erofs/data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/erofs/data.c b/fs/erofs/data.c index 2409d2ab0c28..19065dabe8b9 100644 --- a/fs/erofs/data.c +++ b/fs/erofs/data.c @@ -350,6 +350,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); } |