Skip to content
Commit 6fad823f authored by Liu Bo's avatar Liu Bo Committed by David Sterba
Browse files

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: default avatarQu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 73c0f228
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment