Hi all, This series adds a new incompat feature flag so that we can force a sysadmin to run xfs_repair on a filesystem before mounting. This will be used in conjunction with v5 feature upgrades. v2: tweak the "can't upgrade" behavior and repair messages 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 kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=needsrepair xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=needsrepair fstests git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=needsrepair --- db/check.c | 5 ++ db/sb.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++-- db/xfs_admin.sh | 10 ++- man/man8/xfs_admin.8 | 15 +++++ man/man8/xfs_db.8 | 5 ++ repair/agheader.c | 15 +++++ 6 files changed, 193 insertions(+), 10 deletions(-)