Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 747d1d6c authored by Youling Tang's avatar Youling Tang Committed by Kent Overstreet
Browse files

bcachefs: Add tracepoints for bch2_sync_fs() and bch2_fsync()


Add trace_bch2_sync_fs() and trace_bch2_fsync() implementations.

The output in trace is as follows:
  sync-29779   [000] .....   193.700935: bch2_sync_fs: dev 254,16 wait 1
  <...>-40027  [002] .....   342.535227: bch2_fsync: dev 254,32 ino 4099 parent 4096 datasync 1

Signed-off-by: default avatarYouling Tang <tangyouling@kylinos.cn>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8b088250
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment