diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2014-11-13 11:45:38 +0800 |
---|---|---|
committer | Miao Xie <miaox@cn.fujitsu.com> | 2014-12-03 10:20:48 +0800 |
commit | 5d3edd8f44aac94de7b16f4c54290e24f5e8c532 (patch) | |
tree | 1adb483a18c9a64d1500d4d397ef72a73070d661 /fs | |
parent | 4245215d6a8dba1a51c50533b6667919687c0b89 (diff) | |
download | blackbird-op-linux-5d3edd8f44aac94de7b16f4c54290e24f5e8c532.tar.gz blackbird-op-linux-5d3edd8f44aac94de7b16f4c54290e24f5e8c532.zip |
Btrfs, replace: enable dev-replace for raid56
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/dev-replace.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index fa27b4e3b6c8..0bf41f8b1e23 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c @@ -316,11 +316,6 @@ int btrfs_dev_replace_start(struct btrfs_root *root, struct btrfs_device *tgt_device = NULL; struct btrfs_device *src_device = NULL; - if (btrfs_fs_incompat(fs_info, RAID56)) { - btrfs_warn(fs_info, "dev_replace cannot yet handle RAID5/RAID6"); - return -EOPNOTSUPP; - } - switch (args->start.cont_reading_from_srcdev_mode) { case BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYS: case BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID: |