Blame view
fs/btrfs/dev-replace.h
835 Bytes
9888c3402
|
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
ff023aac3
|
2 3 |
/* * Copyright (C) STRATO AG 2012. All rights reserved. |
ff023aac3
|
4 |
*/ |
9888c3402
|
5 6 |
#ifndef BTRFS_DEV_REPLACE_H #define BTRFS_DEV_REPLACE_H |
ff023aac3
|
7 |
|
e93c89c1a
|
8 9 10 |
struct btrfs_ioctl_dev_replace_args; int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info); |
2b584c688
|
11 |
int btrfs_run_dev_replace(struct btrfs_trans_handle *trans); |
2ff7e61e0
|
12 |
int btrfs_dev_replace_by_ioctl(struct btrfs_fs_info *fs_info, |
e93c89c1a
|
13 14 15 |
struct btrfs_ioctl_dev_replace_args *args); void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, struct btrfs_ioctl_dev_replace_args *args); |
18e67c73d
|
16 |
int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info); |
e93c89c1a
|
17 18 |
void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info); int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info); |
e1f60a658
|
19 |
int __pure btrfs_dev_replace_is_ongoing(struct btrfs_dev_replace *dev_replace); |
e93c89c1a
|
20 |
|
ff023aac3
|
21 |
#endif |