diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-04-12 04:59:50 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-04-12 04:59:50 +0300 |
commit | 2f754f7fb9fdd4e051cb273010c4244f95095835 (patch) | |
tree | eab8380c194dc107dfe01f6e1f6a1aa365d212e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a0d856eede5a3ccfc7f0a4e02ee2e91ffab7f784 (diff) | |
download | linux-2f754f7fb9fdd4e051cb273010c4244f95095835.tar.xz |
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions