summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-08-04 15:35:28 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-14 14:16:40 -0700
commit88b49300630e969f7ee35645bc11921d56dc5c0c (patch)
tree76d8c9a9a1d2fe2c9994da06b16f3fb5e0dd9845 /samples
parent4de959d6b0a2ab75bb9bc5e3ac0bbb3f87a10797 (diff)
xfs: repair problems in CoW forksrepair-file-mappings_2022-10-14
Try to repair errors that we see in file CoW forks so that we don't do stupid things like remap garbage into a file. There's not a lot we can do with the COW fork -- the ondisk metadata record only that the COW staging extents are owned by the refcount btree, which effectively means that we can't reconstruct this incore structure from scratch. Actually, this is even worse -- we can't touch written extents, because those map space that are actively under writeback, and there's not much to do with delalloc reservations. Hence we can only detect crosslinked unwritten extents and fix them by punching out the problematic parts and replacing them with delalloc extents. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions