scrub.c (9a1f3049f47330b2467b9eecfc3a3298c46592d1) | scrub.c (75efa57d0bf5fcf650a183f0ce0dc011ba8c4bc8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 338 unchanged lines hidden (view full) --- 347 .repair = xrep_notsupported, 348 }, 349 [XFS_SCRUB_TYPE_PQUOTA] = { /* project quota */ 350 .type = ST_FS, 351 .setup = xchk_setup_quota, 352 .scrub = xchk_quota, 353 .repair = xrep_notsupported, 354 }, | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 338 unchanged lines hidden (view full) --- 347 .repair = xrep_notsupported, 348 }, 349 [XFS_SCRUB_TYPE_PQUOTA] = { /* project quota */ 350 .type = ST_FS, 351 .setup = xchk_setup_quota, 352 .scrub = xchk_quota, 353 .repair = xrep_notsupported, 354 }, |
355 [XFS_SCRUB_TYPE_FSCOUNTERS] = { /* fs summary counters */ 356 .type = ST_FS, 357 .setup = xchk_setup_fscounters, 358 .scrub = xchk_fscounters, 359 .repair = xrep_notsupported, 360 }, |
|
355}; 356 357/* This isn't a stable feature, warn once per day. */ 358static inline void 359xchk_experimental_warning( 360 struct xfs_mount *mp) 361{ 362 static struct ratelimit_state scrub_warning = RATELIMIT_STATE_INIT( --- 218 unchanged lines hidden --- | 361}; 362 363/* This isn't a stable feature, warn once per day. */ 364static inline void 365xchk_experimental_warning( 366 struct xfs_mount *mp) 367{ 368 static struct ratelimit_state scrub_warning = RATELIMIT_STATE_INIT( --- 218 unchanged lines hidden --- |