commit | 6fad823f4998cdff49c443891a0acc9f1bc289f9 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Tue Mar 14 13:33:59 2017 -0700 |
committer | David Sterba <dsterba@suse.com> | Tue Apr 18 14:07:25 2017 +0200 |
tree | 4af0d1f863fa09a4880c8883e84e4869e0cb7bcd | |
parent | 73c0f228250ff7fc1d662b64123f2aea9d04ca7e [diff] |
Btrfs: do not add extra mirror when dev_replace target dev is not available With this, we can avoid allocating memory for dev replace copies if the target dev is not available. Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>