All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: sandeen@sandeen.net, darrick.wong@oracle.com
Cc: linux-xfs@vger.kernel.org
Subject: [PATCH 1/2] xfs_io: add online scrub/repair for superblock counters
Date: Mon, 26 Aug 2019 14:21:03 -0700	[thread overview]
Message-ID: <156685446357.2839983.15064768299625184515.stgit@magnolia> (raw)
In-Reply-To: <156685445746.2839983.1426723444334605572.stgit@magnolia>

From: Darrick J. Wong <darrick.wong@oracle.com>

Wire up the xfs_io scrub/repair commands to the new superblock summary
counter ioctls.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 io/scrub.c |    1 +
 1 file changed, 1 insertion(+)


diff --git a/io/scrub.c b/io/scrub.c
index 052497be..b6848e5f 100644
--- a/io/scrub.c
+++ b/io/scrub.c
@@ -53,6 +53,7 @@ static const struct scrub_descr scrubbers[XFS_SCRUB_TYPE_NR] = {
 	[XFS_SCRUB_TYPE_UQUOTA]		= {"usrquota",		ST_FS},
 	[XFS_SCRUB_TYPE_GQUOTA]		= {"grpquota",		ST_FS},
 	[XFS_SCRUB_TYPE_PQUOTA]		= {"prjquota",		ST_FS},
+	[XFS_SCRUB_TYPE_FSCOUNTERS]	= {"fscounters",	ST_FS},
 };
 
 static void


  reply	other threads:[~2019-08-26 21:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26 21:20 [PATCH 0/2] xfsprogs: scrub filesystem summary counters Darrick J. Wong
2019-08-26 21:21 ` Darrick J. Wong [this message]
2019-08-27  5:09   ` [PATCH 1/2] xfs_io: add online scrub/repair for superblock counters Dave Chinner
2019-08-26 21:21 ` [PATCH 2/2] xfs_scrub: check summary counters Darrick J. Wong
2019-08-27  5:27   ` Dave Chinner
2019-08-29  3:15     ` Darrick J. Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=156685446357.2839983.15064768299625184515.stgit@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=sandeen@sandeen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.