scrub.c (0f28b25731f76feda1ec71671754a2b7179ee1ef) | scrub.c (29b0767b8beb4c5e3fd94656d51413a4fe8d2d74) |
---|---|
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 --- 233 unchanged lines hidden (view full) --- 242 { /* symbolic link */ 243 .setup = xfs_scrub_setup_symlink, 244 .scrub = xfs_scrub_symlink, 245 }, 246 { /* parent pointers */ 247 .setup = xfs_scrub_setup_parent, 248 .scrub = xfs_scrub_parent, 249 }, | 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 --- 233 unchanged lines hidden (view full) --- 242 { /* symbolic link */ 243 .setup = xfs_scrub_setup_symlink, 244 .scrub = xfs_scrub_symlink, 245 }, 246 { /* parent pointers */ 247 .setup = xfs_scrub_setup_parent, 248 .scrub = xfs_scrub_parent, 249 }, |
250 { /* realtime bitmap */ 251 .setup = xfs_scrub_setup_rt, 252 .scrub = xfs_scrub_rtbitmap, 253 .has = xfs_sb_version_hasrealtime, 254 }, 255 { /* realtime summary */ 256 .setup = xfs_scrub_setup_rt, 257 .scrub = xfs_scrub_rtsummary, 258 .has = xfs_sb_version_hasrealtime, 259 }, |
|
250}; 251 252/* This isn't a stable feature, warn once per day. */ 253static inline void 254xfs_scrub_experimental_warning( 255 struct xfs_mount *mp) 256{ 257 static struct ratelimit_state scrub_warning = RATELIMIT_STATE_INIT( --- 113 unchanged lines hidden --- | 260}; 261 262/* This isn't a stable feature, warn once per day. */ 263static inline void 264xfs_scrub_experimental_warning( 265 struct xfs_mount *mp) 266{ 267 static struct ratelimit_state scrub_warning = RATELIMIT_STATE_INIT( --- 113 unchanged lines hidden --- |