Skip to content

Commit

Permalink
md/raid10: collect some geometry fields into a dedicated structure.
Browse files Browse the repository at this point in the history
We will shortly be adding reshape support for RAID10 which will
require it having 2 concurrent geometries (before and after).
To make that easier, collect most geometry fields into 'struct geom'
and access them from there.  Then we will more easily be able to add
a second set of fields.

Note that 'copies' is not in this struct and so cannot be changed.
There is little need to change this number and doing so is a lot
more difficult as it requires reallocating more things.
So leave it out for now.

Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
NeilBrown committed May 20, 2012
1 parent b5254dd commit 5cf00fc
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 108 deletions.
Loading

0 comments on commit 5cf00fc

Please sign in to comment.