[PATCH 43/49] xfs: return log item size in IOP_SIZE
Mark Tinguely
tinguely at sgi.com
Tue Jul 23 13:22:16 CDT 2013
On 07/19/13 01:25, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> To begin optimising the CIL commit process, we need to have IOP_SIZE
> return both the number of vectors and the size of the data pointed
> to by the vectors. This enables us to calculate the size ofthe
> memory allocation needed before the formatting step and reduces the
> number of memory allocations per item by one.
>
> WhIle there, kill the IOP_SIZE macro.
>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
Looks good.
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
More information about the xfs
mailing list