summaryrefslogtreecommitdiffstats
path: root/md_p.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-01-27 07:28:34 +0000
committerNeil Brown <neilb@suse.de>2006-01-27 07:28:34 +0000
commitb674b5b86926a346b9692884f3aa3eb66f669c69 (patch)
tree89be4ac25ef03d921b1101ed6a8a328ba715d643 /md_p.h
parent6baf9a876bafacdca142e92459a8ae4b90e4baf9 (diff)
downloadmdadm-b674b5b86926a346b9692884f3aa3eb66f669c69.tar.gz
mdadm-b674b5b86926a346b9692884f3aa3eb66f669c69.tar.xz
mdadm-b674b5b86926a346b9692884f3aa3eb66f669c69.zip
Have --examine report reshape details.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'md_p.h')
-rw-r--r--md_p.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/md_p.h b/md_p.h
index 0a0b381..ed2e5fd 100644
--- a/md_p.h
+++ b/md_p.h
@@ -147,7 +147,13 @@ typedef struct mdp_superblock_s {
__u32 cp_events_hi; /* 10 high-order of checkpoint update count */
#endif
__u32 recovery_cp; /* 11 recovery checkpoint sector count */
- __u32 gstate_sreserved[MD_SB_GENERIC_STATE_WORDS - 12];
+ /* There are only valid for minor_version > 90 */
+ __u64 reshape_position; /* 12,13 next address in array-space for reshape */
+ __u32 new_level; /* 14 new level we are reshaping to */
+ __u32 delta_disks; /* 15 change in number of raid_disks */
+ __u32 new_layout; /* 16 new layout */
+ __u32 new_chunk; /* 17 new chunk size (bytes) */
+ __u32 gstate_sreserved[MD_SB_GENERIC_STATE_WORDS - 18];
/*
* Personality information