mbox series

[v17.1,00/14] xfs-4.19: online repair support

Message ID 153292966714.24509.15809693393247424274.stgit@magnolia (mailing list archive)
Headers show
Series xfs-4.19: online repair support | expand

Message

Darrick J. Wong July 30, 2018, 5:47 a.m. UTC
Hi all,

This is the seventeenth revision of a patchset that adds to XFS kernel
support for online metadata scrubbing and repair.  There aren't any
on-disk format changes.

New for v17.1 are a few fixes suggested by Brian Foster in v17 and a
rebase of the series atop for-next, which adapts the repair code to the
new way of hadling deferred log operations.  New for v17 of the patch
series are fixes for numerous review comments that came from Dave and
Allison.  The long prefixes of the previous versions have been
drastically shortened.  Comments about the strategies used to repair
broken parts of the filesystem have been expanded where reviewers
thought it confusing.  A few data structures have been renamed to
reflect more accurately what they do.

Note, this series does not include any of the controversial repair
functionality that requires fs freezing; that has been deferred to a
later posting.

The first patch renames the 'extent list' functionality into a separate
file and rename it xfs_bitmap, since that's what the data structure
actually represents.

Patches 2-12 implement reconstruction of the AGF/AGI/AGFL headers, the
free space btrees, the inode btrees, the inodes, the inode forks, the
inode block maps, symbolic links, and extended attributes.

Patch 13 augments scrub to rebuild extended attributes when any of the
attr blocks are fragmented.

Patch 14 implements reconstruction of quota blocks.

If you're going to start using this mess, you probably ought to just
pull from my git trees.  The kernel patches[1] should apply against
4.18-rc7.  xfsprogs[2] and xfstests[3] can be found in their usual
places.  The git trees contain all four series' worth of changes.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

[1] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=djwong-devel
[2] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=djwong-devel
[3] https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=djwong-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html