erofs: refine readahead tracepoint
authorGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 14 May 2025 12:08:20 +0000 (20:08 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 15 May 2025 21:56:38 +0000 (05:56 +0800)
commit4eb56b0761e75034dd35067a81da4c280c178262
tree2cc053ab41e6e4b924a2c2a8b7739744fd1e3637
parent9748f2f54f66743ac77275c34886a9f890e18409
erofs: refine readahead tracepoint

 - trace_erofs_readpages => trace_erofs_readahead;

 - Rename a redundant statement `nrpages = readahead_count(rac);`;

 - Move the tracepoint to the beginning of z_erofs_readahead().

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20250514120820.2739288-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/fileio.c
fs/erofs/zdata.c
include/trace/events/erofs.h