xfs
[Top] [All Lists]

Re: [PATCH v3 01/13] xfs: add a helper to figure out the space log reser

To: Jeff Liu <jeff.liu@xxxxxxxxxx>
Subject: Re: [PATCH v3 01/13] xfs: add a helper to figure out the space log reservation per item
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Thu, 24 Jan 2013 12:42:51 -0600
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <51011678.4050701@xxxxxxxxxx>
References: <51011678.4050701@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
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@xxxxxxxxxx>
---

Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>