diff options
author | Eryu Guan <guaneryu@gmail.com> | 2014-10-13 12:42:13 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-11-25 18:50:58 +0100 |
commit | b5e1ca5a49eade75bd411d0f6b5c6adb2257de31 (patch) | |
tree | f2a370a16ffdc5e2241e428813c409e18844d5b9 /ioctl.h | |
parent | c38aa53268b8fb45dbd990061399e7a5f79887f0 (diff) |
btrfs-progs: add new dev replace result
A new dev replace result was introduced by kernel commit
Btrfs: return failure if btrfs_dev_replace_finishing() failed
Make the userspace know about the new result too.
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ioctl.h')
-rw-r--r-- | ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -145,6 +145,7 @@ struct btrfs_ioctl_dev_replace_status_params { #define BTRFS_IOCTL_DEV_REPLACE_RESULT_NO_ERROR 0 #define BTRFS_IOCTL_DEV_REPLACE_RESULT_NOT_STARTED 1 #define BTRFS_IOCTL_DEV_REPLACE_RESULT_ALREADY_STARTED 2 +#define BTRFS_IOCTL_DEV_REPLACE_RESULT_SCRUB_INPROGRESS 3 struct btrfs_ioctl_dev_replace_args { __u64 cmd; /* in */ __u64 result; /* out */ |