linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFCRAP 0/5] xfs: atomic file metadata repairs
@ 2020-04-29  2:46 Darrick J. Wong
  2020-04-29  2:46 ` [PATCH 1/5] xfs: parent repair should try the dcache first Darrick J. Wong
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Darrick J. Wong @ 2020-04-29  2:46 UTC (permalink / raw)
  To: darrick.wong; +Cc: linux-xfs

Hi all,

This series connects the atomic extent swap mechanism in the previous
series to the online filesystem repair code.  This enables repair
functions to construct a clean copy of a directory, xattr information,
realtime bitmaps, and realtime summary information in a temporary inode.
If this completes successfully, the new contents can be swapped
atomically into the inode being repaired.  This is essential to avoid
making corruption problems worse if the system goes down in the middle
of running repair.

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=repair-metadata-atomically

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

end of thread, other threads:[~2020-04-29  2:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-29  2:46 [PATCH RFCRAP 0/5] xfs: atomic file metadata repairs Darrick J. Wong
2020-04-29  2:46 ` [PATCH 1/5] xfs: parent repair should try the dcache first Darrick J. Wong
2020-04-29  2:46 ` [PATCH 2/5] xfs: create temporary files and directories for online repair Darrick J. Wong
2020-04-29  2:46 ` [PATCH 3/5] xfs: use atomic extent swapping to repair rt metadata Darrick J. Wong
2020-04-29  2:46 ` [PATCH 4/5] xfs: use atomic extent swapping to repair extended attributes Darrick J. Wong
2020-04-29  2:46 ` [PATCH 5/5] xfs: use atomic extent swapping to repair directories Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).