Loading...
Note: File does not exist in v3.5.6.
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef BTRFS_SCRUB_H
4#define BTRFS_SCRUB_H
5
6int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
7 u64 end, struct btrfs_scrub_progress *progress,
8 int readonly, int is_dev_replace);
9void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
10void btrfs_scrub_continue(struct btrfs_fs_info *fs_info);
11int btrfs_scrub_cancel(struct btrfs_fs_info *info);
12int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
13int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
14 struct btrfs_scrub_progress *progress);
15
16#endif