在 2022/10/10 22:35, Jason Yan 写道:
While you are at it, can you make all the tid tracing consistent. Some
tracing points using unsigned long such as:
TRACE_EVENT(jbd2_handle_extend,
TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
unsigned int line_no, int buffer_credits,
int requested_blocks),
TP_ARGS(dev, tid, type, line_no, buffer_credits, requested_blocks),
and the caller passing transaction->t_tid which is tid_t(unsigned int).
trace_jbd2_handle_extend(journal->j_fs_dev->bd_dev,
transaction->t_tid,
handle->h_type, handle->h_line_no,
handle->h_total_credits,
nblocks);
Ok, I'll send another patch to fix this problem.
Thanks
Bixuan Cui