[PATCH 43/49] xfs: return log item size in IOP_SIZE
Christoph Hellwig
hch at infradead.org
Thu Aug 1 03:18:38 CDT 2013
On Fri, Jul 19, 2013 at 04:25:14PM +1000, 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.
Instead of killing a single of those here add a patch earlier in the
series that kills all IO_* macros.
More information about the xfs
mailing list