All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 00/12] xfs: more and better verifiers
@ 2017-08-17 23:31 Darrick J. Wong
  2017-08-17 23:31 ` [PATCH 01/12] xfs: refactor long-format btree header verification routines Darrick J. Wong
                   ` (12 more replies)
  0 siblings, 13 replies; 34+ messages in thread
From: Darrick J. Wong @ 2017-08-17 23:31 UTC (permalink / raw)
  To: linux-xfs, darrick.wong

Hi all,

This RFC combines all the random little fixes and improvements to the
verifiers that we've been talking about for the past month or so into a
single patch series!

We start by refactoring the long format btree block header verifier into
a single helper functionn and de-macroing 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.  Then, we
move on to creating 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 last patch enables
us to (re)check the structure of incore metadata buffers to try to
detect memory corruption.

--D

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2017-08-31 23:49 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-17 23:31 [RFC 00/12] xfs: more and better verifiers Darrick J. Wong
2017-08-17 23:31 ` [PATCH 01/12] xfs: refactor long-format btree header verification routines Darrick J. Wong
2017-08-17 23:31 ` [PATCH 02/12] xfs: remove XFS_WANT_CORRUPTED_RETURN from dir3 data verifiers Darrick J. Wong
2017-08-17 23:31 ` [PATCH 03/12] xfs: have buffer verifier functions report failing address Darrick J. Wong
2017-08-19  2:19   ` [PATCH v2 " Darrick J. Wong
2017-08-17 23:31 ` [PATCH 04/12] xfs: refactor verifier callers to print address of failing check Darrick J. Wong
2017-08-17 23:32 ` [PATCH 05/12] xfs: verify dinode header first Darrick J. Wong
2017-08-17 23:32 ` [PATCH 06/12] xfs: move inode fork verifiers to xfs_dinode_verify Darrick J. Wong
2017-08-17 23:32 ` [PATCH 07/12] xfs: create structure verifier function for shortform xattrs Darrick J. Wong
2017-08-17 23:32 ` [PATCH 08/12] xfs: create structure verifier function for short form symlinks Darrick J. Wong
2017-08-17 23:32 ` [PATCH 09/12] xfs: refactor short form directory structure verifier function Darrick J. Wong
2017-08-17 23:32 ` [PATCH 10/12] xfs: provide a centralized method for verifying inline fork data Darrick J. Wong
2017-08-17 23:32 ` [PATCH 11/12] xfs: fail out of xfs_attr3_leaf_lookup_int if it looks corrupt Darrick J. Wong
2017-08-17 23:32 ` [PATCH 12/12] xfs: create a new buf_ops pointer to verify structure metadata Darrick J. Wong
2017-08-18  7:05 ` [RFC 00/12] xfs: more and better verifiers Christoph Hellwig
2017-08-18 17:06   ` Darrick J. Wong
2017-08-18 18:45     ` Darrick J. Wong
2017-08-18 18:59       ` Darrick J. Wong
2017-08-19  0:33       ` Dave Chinner
2017-08-19  0:58         ` Darrick J. Wong
2017-08-19  1:12           ` Dave Chinner
2017-08-19  1:17             ` Darrick J. Wong
2017-08-19 23:20               ` Dave Chinner
2017-08-21  8:13     ` Christoph Hellwig
2017-08-29 15:11       ` Christoph Hellwig
2017-08-29 16:57         ` Darrick J. Wong
2017-08-29 22:22         ` Dave Chinner
2017-08-31  0:10           ` Darrick J. Wong
2017-08-31  2:43             ` Dave Chinner
2017-08-31  3:05               ` Eric Sandeen
2017-08-31  3:27                 ` Dave Chinner
2017-08-31  5:44                   ` Darrick J. Wong
2017-08-31 23:37                     ` Dave Chinner
2017-08-31 23:49                       ` Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.