scrub.c (80e4e12688029e42fc6ab4cf7f229b090c61e6a7) scrub.c (99d9d8d05da26f47aa8412397407f962bcb4713a)
1/*
2 * Copyright (C) 2017 Oracle. All Rights Reserved.
3 *
4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 201 unchanged lines hidden (view full) ---

210 .setup = xfs_scrub_setup_ag_refcountbt,
211 .scrub = xfs_scrub_refcountbt,
212 .has = xfs_sb_version_hasreflink,
213 },
214 { /* inode record */
215 .setup = xfs_scrub_setup_inode,
216 .scrub = xfs_scrub_inode,
217 },
1/*
2 * Copyright (C) 2017 Oracle. All Rights Reserved.
3 *
4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 201 unchanged lines hidden (view full) ---

210 .setup = xfs_scrub_setup_ag_refcountbt,
211 .scrub = xfs_scrub_refcountbt,
212 .has = xfs_sb_version_hasreflink,
213 },
214 { /* inode record */
215 .setup = xfs_scrub_setup_inode,
216 .scrub = xfs_scrub_inode,
217 },
218 { /* inode data fork */
219 .setup = xfs_scrub_setup_inode_bmap,
220 .scrub = xfs_scrub_bmap_data,
221 },
222 { /* inode attr fork */
223 .setup = xfs_scrub_setup_inode_bmap,
224 .scrub = xfs_scrub_bmap_attr,
225 },
226 { /* inode CoW fork */
227 .setup = xfs_scrub_setup_inode_bmap,
228 .scrub = xfs_scrub_bmap_cow,
229 },
218};
219
220/* This isn't a stable feature, warn once per day. */
221static inline void
222xfs_scrub_experimental_warning(
223 struct xfs_mount *mp)
224{
225 static struct ratelimit_state scrub_warning = RATELIMIT_STATE_INIT(

--- 113 unchanged lines hidden ---
230};
231
232/* This isn't a stable feature, warn once per day. */
233static inline void
234xfs_scrub_experimental_warning(
235 struct xfs_mount *mp)
236{
237 static struct ratelimit_state scrub_warning = RATELIMIT_STATE_INIT(

--- 113 unchanged lines hidden ---