]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ext4: enhance tracepoints during the folios writeback
authorZhang Yi <yi.zhang@huawei.com>
Mon, 7 Jul 2025 14:08:09 +0000 (22:08 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Jul 2025 03:41:51 +0000 (23:41 -0400)
commit6b132759b0fe78e518abafb62190c294100db6d6
tree5cd843315a56e1e4c01fc79137b077f9ce96db55
parente2c4c49dee64ca2f42ad2958cbe1805de96b6732
ext4: enhance tracepoints during the folios writeback

After mpage_map_and_submit_extent() supports restarting handle if
credits are insufficient during allocating blocks, it is more likely to
exit the current mapping iteration and continue to process the current
processing partially mapped folio again. The existing tracepoints are
not sufficient to track this situation, so enhance the tracepoints to
track the writeback position and the return value before and after
submitting the folios.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20250707140814.542883-7-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c
include/trace/events/ext4.h