diff options
author | NeilBrown <neilb@suse.de> | 2010-03-16 06:23:35 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-05-18 05:27:47 (GMT) |
commit | 84707f38e767ac470fd82af6c45a8cafe2bd1b9a (patch) | |
tree | bc480c9aeedccd735e144576284523da1406cb98 /drivers/md/dm-io.c | |
parent | c0cc75f84e0e413bce2dcabea74ef418da45c7c1 (diff) | |
download | linux-84707f38e767ac470fd82af6c45a8cafe2bd1b9a.tar.xz |
md: don't use mddev->raid_disks in raid0 or raid10 while array is active.
In a subsequent patch we will make it possible to change
mddev->raid_disks while a RAID0 or RAID10 array is active. This is
part of the process of reshaping such an array.
This means that we cannot use this value while processes requests
(it is OK to use it during initialisation as we are locked against
changes then).
Both RAID0 and RAID10 have the same value stored in the private data
structure, so use that value instead.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-io.c')
0 files changed, 0 insertions, 0 deletions