On Wed, May 06, 2020 at 08:31:10AM -0700, Christoph Hellwig wrote: > On Mon, May 04, 2020 at 06:12:53PM -0700, Darrick J. Wong wrote: > > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > > > During recovery, every intent that we recover from the log has to be > > added to the AIL. Replace the open-coded addition with a helper. > > > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > > Second thoughts: given that the helper is totally generic, maybe > name it xfs_trans_ail_insert and keep it in the generic AIL code? Ok, renamed to xfs_trans_ail_insert and moved to xfs_trans_ail.c. --D