Hi all, This patch series combines all the random little fixes and improvements to the verifiers that we've been talking about for the past six months or so into a single patch series! The first and third patches replace some macros with the more robust helpers introduced in 4.15. The second patch refactors the long format btree block header verifier into a single helper function. The fourth patch de-macros the dir block verifiers to make them less shouty. Next, we change verifier functions to return the approximate instruction pointer of the faulting test so that we can report more precise fault information to dmesg/tracepoints. Patches 8-14 create verifiers for all the inline format fork formats, and create a helper function for _iget that can dispatch inline verification. The ability to supply custom verifier functions will be used by xfs_repair to deal with corrupt inodes. The next two patches enable us to (re)check the structure of incore metadata buffers to try to detect memory corruption, then adapts the online scrubber to use this. The two patches after that separate the disk quota buffer verifiers into separate check and repair routines and restructure the verifier to follow the structure of the other verifiers. The final two patches in this series clean up 'void *' instruction pointer use and enlarge the bad buffer hex dumps to 128 bytes since v5 headers are actually that large. 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.15-rc4 + the online scrub xref series. xfsprogs[2] and xfstests[3] can be found in their usual places. This is an extraordinary way to eat your data. 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html