summaryrefslogtreecommitdiff
tag namereapir-metadata-atomically_2020-04-22 (4c87d0e96bfbed605a195f72ebf236999a7049a5)
tag date2020-04-22 16:31:29 -0700
tagged byDarrick J. Wong <darrick.wong@oracle.com>
tagged objectcommit 3f6786391e...
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.