]> git.baikalelectronics.ru Git - kernel.git/commit
zonefs: add tracepoints for file operations
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Tue, 26 Jan 2021 20:21:15 +0000 (05:21 +0900)
committerDamien Le Moal <damien.lemoal@wdc.com>
Tue, 16 Feb 2021 00:59:54 +0000 (09:59 +0900)
commit62ab1aadcccd037a7ced4ed99b4d46d2b4190183
treef6423157260b368f67d29eb566263bd2f5565691
parent6ee1d745b7c9fd573fba142a2efdad76a9f1cb04
zonefs: add tracepoints for file operations

Add tracepoints for file I/O operations to aid in debugging of I/O errors
with zonefs.

The added tracepoints are in:
- zonefs_zone_mgmt() for tracing zone management operations
- zonefs_iomap_begin() for tracing regular file I/O
- zonefs_file_dio_append() for tracing zone-append operations

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
fs/zonefs/Makefile
fs/zonefs/super.c
fs/zonefs/trace.h [new file with mode: 0644]