[PATCH 5/7] xfs: defer EFI and EFD log formatting until iop_format time
Christoph Hellwig
hch at infradead.org
Sun Nov 24 03:18:30 CST 2013
On Sat, Nov 23, 2013 at 07:11:56AM -0800, Christoph Hellwig wrote:
> No need to allocate large chunks of memory to format each extent into
> an array when logging the EFI or EFD items. Instead just point to the
> bmap free list and only generate the log format at iop_format time.
>
> Also get rid of the now almost empty xfs_trans_extfree.c by merging it
> into xfs_extfree_item.c.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Turns out this version can fairly easily cause use after frees, so it'll
need a bit of an overhaul to get the lifetime rules right. As I have
other things in that area in the queue consider patches 5 to 7 withdrawn
for now, they will be submitted as a separate series once ready.
More information about the xfs
mailing list