Re: [PATCH 01/11] xfs: disentagle EFI release from the extent count

Christoph Hellwig
2015-08-12T07:15:21Z

On Mon, Aug 10, 2015 at 08:37:27AM -0400, Brian Foster wrote:
> > As a follow on we should be able to remove atomic_inc_return and
> > replace it with a local iterator in xfs_bmap_finish().
> >
>
> I'm not sure what you mean here...

efi_next_extent is not only used is to find a 'slot' for the extent
in xfs_trans_log_efi_extent. For that we don't need an atomic_t
in the EFI, but can have a local variable in xfs_bmap_finish.