Re: [PATCH 5/9] xfs: report "max_resp" used for min log size computation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux