Re: [PATCH 43/49] xfs: return log item size in IOP_SIZE

Christoph Hellwig
2013-08-01T08:18:46Z

On Fri, Jul 19, 2013 at 04:25:14PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@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.

Instead of killing a single of those here add a patch earlier in the
series that kills all IO_* macros.