On Mon, Jul 30, 2018 at 12:45:13PM -0400, Brian Foster wrote: > Inodes that are held across deferred operations are explicitly > joined to the dfops structure to ensure appropriate relogging. > While inodes are currently joined explicitly, we can detect the > conditions that require relogging at dfops finish time by inspecting > the transaction item list for inodes with ili_lock_flags == 0. > > Replace the xfs_defer_ijoin() infrastructure with such detection and > automatic relogging of held inodes. This eliminates the need for the > per-dfops inode list, replaced by an on-stack variant in > xfs_defer_trans_roll(). Looks good modulo additional error checking: Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html