summaryrefslogtreecommitdiff
tag namerepair-reap-fixes_2019-10-19 (addac6ef2050dd29dd65774d19c09f5380731f6e)
tag date2019-10-19 10:39:50 -0700
tagged byDarrick J. Wong <darrick.wong@oracle.com>
tagged objectcommit 756e6fa58c...
xfs: fix online repair block reaping
These patches fix a few problems that I noticed in the code that deals with old btree blocks after a successful repair. First, we clarify how the reaping function works w.r.t. bitmap lifetimes. Next we fix a bug where we could incorrectly invalidate old btree blocks if they were crosslinked. Finally, we convert the reap function to use EFIs so that we can delete blocks without overloading a transaction.