File Index
Files and directories
Sign in
FILE

scrub.h

File preview with syntax highlighting.

linux-6.19.14/fs/btrfs/scrub.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2
 3#ifndef BTRFS_SCRUB_H
 4#define BTRFS_SCRUB_H
 5
 6#include <linux/types.h>
 7
 8struct btrfs_fs_info;
 9struct btrfs_device;
10struct btrfs_scrub_progress;
11
12int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
13		    u64 end, struct btrfs_scrub_progress *progress,
14		    bool readonly, bool is_dev_replace);
15void btrfs_scrub_pause(struct btrfs_fs_info *fs_info);
16void btrfs_scrub_continue(struct btrfs_fs_info *fs_info);
17int btrfs_scrub_cancel(struct btrfs_fs_info *info);
18int btrfs_scrub_cancel_dev(struct btrfs_device *dev);
19int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
20			 struct btrfs_scrub_progress *progress);
21
22#endif
~/ Read-only file preview.