On Mon, Jan 25, 2021 at 04:29:01PM -0800, Darrick J. Wong wrote: > ...except that doing so will collide with what we've been telling Yafang > (as part of his series to detect nested transactions) as far as when is > the appropriate time to set current->journal_info/PF_MEMALLOC_NOFS. Can't we do that based on a log/blk reservation? If not I'm also fine with going back to your original goto based loop, it just looked rather cumbersome to me.