[PATCH v5 0/3] xfs: don't commit sunit/swidth updates to disk if that would cause repair failures

Darrick J. Wong
2019-12-18T19:39:34Z

Hi all,

Alex Lyakas discovered that it's possible to mount a filesystem with
sunit/swidth options that will cause a subsequent xfs_repair run to fail
to find the root directory. This series adds some code to strengthen
the kernel's mount option checking to avoid updating the superblock if
this happens.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

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

--D