]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
Btrfs: increase BTRFS_MAX_MIRRORS by one for dev replace
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 6 Nov 2012 13:57:46 +0000 (14:57 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:44 +0000 (17:15 -0500)
commit72d7aefccd512b66cd5543e652eae04be12085fc
tree833f4cffbeb643eef2ebc4c4647f9f02bf7fe920
parent30d9861ff9520e2a112eae71029bc9f7e915a441
Btrfs: increase BTRFS_MAX_MIRRORS by one for dev replace

This change of the define is effective in all modes, it
is required and used only in the case when a device replace
procedure is running. The reason is that during an active
device replace procedure, the target device of the copy
operation is a mirror for the filesystem data as well that
can be used to read data in order to repair read errors on
other disks.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.h