| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Copy file , file blocks is different, Ben Myers |
|---|---|
| Next by Date: | Re: Initial mount with inode32 option, Ben Myers |
| Previous by Thread: | [PATCH v3 01/13] xfs: add a helper to figure out the space log reservation per item, Jeff Liu |
| Next by Thread: | [PATCH v3 02/13] xfs: make use of xfs_calc_buf_res() in xfs_trans.c, Jeff Liu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |