linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2.2 0/4] xfs_repair: check quota counters
@ 2020-07-14 21:46 Darrick J. Wong
  2020-07-14 21:46 ` [PATCH 1/4] xfs_repair: alphabetize HFILES and CFILES Darrick J. Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Darrick J. Wong @ 2020-07-14 21:46 UTC (permalink / raw)
  To: sandeen, darrick.wong; +Cc: linux-xfs

Hi all,

One of the larger gaps between xfs_check and xfs_repair is that repair
doesn't have the ability to check quota counters against the filesystem
contents.  This series adds that checking ability to repair pass7, which
should suffice to drop xfs_check in fstests.  It also means that repair
no longer forces a quotacheck on the next mount even if the quota counts
were correct.

For v2, I moved the makefile changes to a separate patch; fixed various
labelling and error message things that Eric pointed out; and also fixed
a bug where repair wasn't clearing the CHKD flags correctly on V4 fses.

v2.2: Rebase against 5.7-rc1.

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

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=repair-quotacheck
---
 man/man8/xfs_repair.8 |    4 
 repair/Makefile       |   69 +++++-
 repair/phase7.c       |   21 ++
 repair/quotacheck.c   |  552 +++++++++++++++++++++++++++++++++++++++++++++++++
 repair/quotacheck.h   |   16 +
 repair/xfs_repair.c   |   13 +
 6 files changed, 660 insertions(+), 15 deletions(-)
 create mode 100644 repair/quotacheck.c
 create mode 100644 repair/quotacheck.h


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH v2 0/4] xfs_repair: check quota counters
@ 2020-05-14 16:56 Darrick J. Wong
  2020-05-14 16:56 ` [PATCH 2/4] xfs_repair: fix clearing of quota CHKD flags Darrick J. Wong
  0 siblings, 1 reply; 10+ messages in thread
From: Darrick J. Wong @ 2020-05-14 16:56 UTC (permalink / raw)
  To: sandeen, darrick.wong; +Cc: linux-xfs

Hi all,

One of the larger gaps between xfs_check and xfs_repair is that repair
doesn't have the ability to check quota counters against the filesystem
contents.  This series adds that checking ability to repair pass7, which
should suffice to drop xfs_check in fstests.  It also means that repair
no longer forces a quotacheck on the next mount even if the quota counts
were correct.

For v2, I moved the makefile changes to a separate patch; fixed various
labelling and error message things that Eric pointed out; and also fixed
a bug where repair wasn't clearing the CHKD flags correctly on V4 fses.

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

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=repair-quotacheck

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

end of thread, other threads:[~2020-07-15 18:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 21:46 [PATCH v2.2 0/4] xfs_repair: check quota counters Darrick J. Wong
2020-07-14 21:46 ` [PATCH 1/4] xfs_repair: alphabetize HFILES and CFILES Darrick J. Wong
2020-07-15 17:47   ` Christoph Hellwig
2020-07-14 21:46 ` [PATCH 2/4] xfs_repair: fix clearing of quota CHKD flags Darrick J. Wong
2020-07-15 17:47   ` Christoph Hellwig
2020-07-14 21:46 ` [PATCH 3/4] xfs_repair: check quota values if quota was loaded Darrick J. Wong
2020-07-15 18:29   ` Christoph Hellwig
2020-07-14 21:46 ` [PATCH 4/4] xfs_repair: skip mount time quotacheck if our quotacheck was ok Darrick J. Wong
2020-07-15 18:30   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2020-05-14 16:56 [PATCH v2 0/4] xfs_repair: check quota counters Darrick J. Wong
2020-05-14 16:56 ` [PATCH 2/4] xfs_repair: fix clearing of quota CHKD flags 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).