On Tue, Apr 26, 2022 at 05:52:20PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Move the tracepoint that computes the size of the transaction used to > compute the minimum log size into xfs_log_get_max_trans_res so that we > only have to compute this stuff once. > > Leave xfs_log_get_max_trans_res as a non-static function so that xfs_db > can call it to report the results of the userspace computation of the > same value to diagnose mkfs/kernel misinteractions. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> Looks good. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx