[PATCHSET 6/9] fuse2fs: improve operation tracing

Darrick J. Wong
2025-11-06T22:29:13Z

Hi all,

This series improves the ability for developers to trace the activities
of fuse2fs by adding more debugging printfs and tracing abilities of
fuse2fs. It also registers a com_err handler for libext2fs so we can
capture errors coming out of there, and changes filesystem error
reporting to tell us the function name instead of just fuse2fs.c.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

Comments and questions are, as always, welcome.

e2fsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/e2fsprogs.git/log/?h=fuse2fs-tracing
---
Commits in this patchset:
* fuse2fs: hook library error message printing
* fuse2fs: print the function name in error messages, not the file name
* fuse2fs: improve tracing for file range operations
* fuse2fs: record thread id in debug trace data
---
misc/fuse2fs.c | 93 ++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 69 insertions(+), 24 deletions(-)