summaryrefslogtreecommitdiff
tag namerepair-metadata-atomically_2020-06-01 (f3cb2737aa6e2574e66d8bc1038c1ebf1ac7e6ee)
tag date2020-06-01 21:21:42 -0700
tagged byDarrick J. Wong <darrick.wong@oracle.com>
tagged objectcommit d203d919b6...
xfs: atomic file metadata repairs
This series connects the atomic extent swap mechanism in the previous series to the online filesystem repair code. This enables repair functions to construct a clean copy of a directory, xattr information, realtime bitmaps, and realtime summary information in a temporary inode. If this completes successfully, the new contents can be swapped atomically into the inode being repaired. This is essential to avoid making corruption problems worse if the system goes down in the middle of running repair.