On Mon, Apr 15, 2019 at 05:19:37PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > It's a little silly how the memset in scrub context initialization > forces us to declare stack variables to preserve context variables > across a retry. Since the teardown functions already null out most of > the ephemeral state (buffer pointers, btree cursors, etc.), just skip > the memset and move the initialization as needed. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks sane Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx