[PATCH 0/5] xfsprogs May 2015 patchbomb

Darrick J. Wong darrick.wong at oracle.com
Tue May 26 17:51:26 CDT 2015


Hi all,

This is a rollup of various fixes for xfsprogs 3.2.3-rc1.

The first patch makes repair stop when it encounters v5 feature bits
which it doesn't understand.  Without it, an old xfs_repair will
trash a filesystem it doesn't know how to fix.

The second patch adds to repair some missing metadata back pointer
checks.

Patch 3 ensures that the .. link in a dir being rebuilt points
to a sane inode number.

Patch 4 implements blockget for v5 filesystems.  This is a second try
at a previous patch which didn't quite catch all the new magic numbers
and had some problems iterating directory index data.

Patch 5 fixes up blocktrash to avoid verifier errors when writing
deliberately corrupted blocks to disk.  It also adds the xfsfuzz.sh
script which will create and populate an XFS image, corrupts it,
then tries to modify/repair/re-modify the image.  I'm not sure this
is appropriate for xfstests, since runs until the kernel crashes or
repair fails to repair or the user ^Cs it.

I've tested these xfsprogs changes against the -next branch as of
5/11.

Comments and questions are, as always, welcome.

--D



More information about the xfs mailing list