On Mon, Jul 30, 2018 at 12:45:12PM -0400, Brian Foster wrote: > Buffers that are held across deferred operations are explicitly > joined to the dfops structure to ensure appropriate relogging. > While buffers are currently joined explicitly, we can detect the > conditions that require relogging at dfops finish time by inspecting > the transaction item list for held buffers. > > Replace the xfs_defer_bjoin() infrastructure with such detection and > automatic relogging of held buffers. This eliminates the need for > the per-dfops buffer list, replaced by an on-stack variant in > xfs_defer_trans_roll(). Looks good modulo added error checking as noted by Darrick: 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