scrub.c (7c8ede16280586c72c36af6604985d714b84a32c) scrub.c (2fc6822c99d7e902b7cef146efa37420d41c0c59)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2011, 2012 STRATO. All rights reserved.
4 */
5
6#include <linux/blkdev.h>
7#include <linux/ratelimit.h>
8#include <linux/sched/mm.h>

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

19#include "check-integrity.h"
20#include "rcu-string.h"
21#include "raid56.h"
22#include "block-group.h"
23#include "zoned.h"
24#include "fs.h"
25#include "accessors.h"
26#include "file-item.h"
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2011, 2012 STRATO. All rights reserved.
4 */
5
6#include <linux/blkdev.h>
7#include <linux/ratelimit.h>
8#include <linux/sched/mm.h>

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

19#include "check-integrity.h"
20#include "rcu-string.h"
21#include "raid56.h"
22#include "block-group.h"
23#include "zoned.h"
24#include "fs.h"
25#include "accessors.h"
26#include "file-item.h"
27#include "scrub.h"
27
28/*
29 * This is only the first step towards a full-features scrub. It reads all
30 * extent and super block and verifies the checksums. In case a bad checksum
31 * is found or the extent cannot be read, good data will be written back if
32 * any can be found.
33 *
34 * Future enhancements:

--- 4500 unchanged lines hidden ---
28
29/*
30 * This is only the first step towards a full-features scrub. It reads all
31 * extent and super block and verifies the checksums. In case a bad checksum
32 * is found or the extent cannot be read, good data will be written back if
33 * any can be found.
34 *
35 * Future enhancements:

--- 4500 unchanged lines hidden ---