diff options
author | Heinz Mauelshagen <[email protected]> | 2016-05-19 18:49:30 +0200 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2016-06-14 17:09:32 -0400 |
commit | 33e53f06850f44ec9722e08a993ecf8816e447a5 (patch) | |
tree | 999b931d88f9bcf8328f9ce39c3c08ca62169e2e /lib/test-string_helpers.c | |
parent | 676fa5ad6e96e5704b0f2d5bb56ea115c807eef4 (diff) |
dm raid: introduce extended superblock and new raid types to support takeover/reshaping
Add new members to the dm-raid superblock and new raid types to support
takeover/reshape.
Add all necessary members needed to support takeover and reshape in one
go -- aiming to limit the amount of changes to the superblock layout.
This is a larger patch due to the new superblock members, their related
flags, validation of both and involved API additions/changes:
- add additional members to keep track of:
- state about forward/backward reshaping
- reshape position
- new level, layout, stripe size and delta disks
- data offset to current and new data for out-of-place reshapes
- failed devices bitfield extensions to keep track of max raid devices
- adjust super_validate() to cope with new superblock members
- adjust super_init_validation() to cope with new superblock members
- add definitions for ctr flags supporting delta disks etc.
- add new raid types (raid6_n_6 etc.)
- add new raid10 supporting function API (_is_raid10_*())
- adjust to changed raid10 supporting function API
Signed-off-by: Heinz Mauelshagen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions