summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-08-07 09:09:31 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-14 14:16:24 -0700
commit48b35226901b4a6c05ff6f39441f145546b024aa (patch)
tree2a563f1a7bd805aad8208df4e5a9131ab6ed422a /kernel
parent9054361cbc5693aebdcc2f48f31fef321395b0be (diff)
xfs: document metadata file repair
File-based metadata (such as xattrs and directories) can be extremely large. To reduce the memory requirements and maximize code reuse, it is very convenient to create a temporary file, use the regular dir/attr code to store salvaged information, and then atomically swap the extents between the file being repaired and the temporary file. Record the high level concepts behind how temporary files and atomic content swapping should work, and then present some case studies of what the actual repair functions do. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions