[PATCH 1/2] xfs_io: add online scrub/repair for superblock counters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

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

Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
 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




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux