[PATCH 6.1 237/798] f2fs: factor the read/write tracing logic into a helper