linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] xfs-4.19: fix bogus summary counters on mount
@ 2018-07-18 23:39 Darrick J. Wong
  2018-07-18 23:39 ` [PATCH 1/3] xfs: detect and fix bad summary counts at mount Darrick J. Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Darrick J. Wong @ 2018-07-18 23:39 UTC (permalink / raw)
  To: darrick.wong; +Cc: linux-xfs

Hi all,

This series enhances XFS' ability to detect and recover from obviously
incorrect summary counts.  Some of this is in response to recent bug
reports about xfs allowing mounts with obviously incorrect counts,
though the last two patches are intended to integrate with future online
fsck features.

The first patch detects obviously bad summary counters at mount time,
forces a recomputation of the counters after log recovery (if any)
completes, and fails the mount if the counts are still obviously bad.
The second and third patches deal with forcing a recalculation at the
next mount if the counts are found to be slightly incorrect, which is a
situation that will be detected by the fscounter online fsck in a
subsequent patch series.

This series sits on top of the cleanups I sent earlier today.

Comments and questions are, as always, welcome.

--D

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

end of thread, other threads:[~2018-07-20 16:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 23:39 [PATCH 0/3] xfs-4.19: fix bogus summary counters on mount Darrick J. Wong
2018-07-18 23:39 ` [PATCH 1/3] xfs: detect and fix bad summary counts at mount Darrick J. Wong
2018-07-19 16:36   ` Christoph Hellwig
2018-07-18 23:39 ` [PATCH 2/3] xfs: refactor unmount record write Darrick J. Wong
2018-07-19 16:39   ` Christoph Hellwig
2018-07-19 17:40     ` Darrick J. Wong
2018-07-19 17:41   ` [PATCH v2 " Darrick J. Wong
2018-07-20 16:04     ` Christoph Hellwig
2018-07-18 23:39 ` [PATCH 3/3] xfs: force summary counter recalc at next mount Darrick J. Wong
2018-07-19 16:40   ` Christoph Hellwig
2018-07-19 16:44     ` Darrick J. Wong
2018-07-19 16:45 ` [RFC PATCH 4/3] xfstests: test mount time summary counter check and fix 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).