[PATCH v3 01/13] xfs: add a helper to figure out the space log reservation per item

Mark Tinguely tinguely at sgi.com
Thu Jan 24 12:42:51 CST 2013


On 01/24/13 05:09, Jeff Liu wrote:
> Add a new helper xfs_calc_buf_res() to calculate out the transaction space
> reservations per item.  xfs_buf_log_overhead() is used to figure out the
> extra space for struct xfs_buf_log_format that gets written into the log
> for every buffer as well as a log opheader, i.e. struct xlog_op_header.
>
>
> Signed-off-by: Jie Liu<jeff.liu at oracle.com>
> ---

Looks good.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list