On Sun, Oct 02, 2022 at 11:19:55AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > If we tried to repair something but the repair failed with -EDEADLOCK or > -EAGAIN, that means that the repair function couldn't grab some resource Nothing should fail with EAGAIN by this point? > it needed and wants us to try again. If we try again (with TRY_HARDER) > but still can't do it, exit back to userspace, since xfs_scrub_metadata > requires xrep_attempt to return -EAGAIN. -EDEADLOCK, not -EAGAIN? Confused. -Dave. -- Dave Chinner david@xxxxxxxxxxxxx