Lines Matching defs:mdp_superblock_s

131 typedef struct mdp_superblock_s {  struct
135 __u32 md_magic; /* 0 MD identifier */
136 __u32 major_version; /* 1 major version to which the set conforms */
137 __u32 minor_version; /* 2 minor version ... */
138 __u32 patch_version; /* 3 patchlevel version ... */
139 __u32 gvalid_words; /* 4 Number of used words in this section */
140 __u32 set_uuid0; /* 5 Raid set identifier */
141 __u32 ctime; /* 6 Creation time */
142 __u32 level; /* 7 Raid personality */
143 __u32 size; /* 8 Apparent size of each individual disk */
144 __u32 nr_disks; /* 9 total disks in the raid set */
145 __u32 raid_disks; /* 10 disks in a fully functional raid set */
146 __u32 md_minor; /* 11 preferred MD minor device number */
147 __u32 not_persistent; /* 12 does it have a persistent superblock */
148 __u32 set_uuid1; /* 13 Raid set identifier #2 */
149 __u32 set_uuid2; /* 14 Raid set identifier #3 */
150 __u32 set_uuid3; /* 15 Raid set identifier #4 */
151 __u32 gstate_creserved[MD_SB_GENERIC_CONSTANT_WORDS - 16];
156 __u32 utime; /* 0 Superblock update time */
157 __u32 state; /* 1 State bits (clean, ...) */
158 __u32 active_disks; /* 2 Number of currently active disks */
159 __u32 working_disks; /* 3 Number of working disks */
160 __u32 failed_disks; /* 4 Number of failed disks */
161 __u32 spare_disks; /* 5 Number of spare disks */
162 __u32 sb_csum; /* 6 checksum of the whole superblock */
164 __u32 events_hi; /* 7 high-order of superblock update count */
165 __u32 events_lo; /* 8 low-order of superblock update count */
166 __u32 cp_events_hi; /* 9 high-order of checkpoint update count */
167 __u32 cp_events_lo; /* 10 low-order of checkpoint update count */
169 __u32 events_lo; /* 7 low-order of superblock update count */
170 __u32 events_hi; /* 8 high-order of superblock update count */
171 __u32 cp_events_lo; /* 9 low-order of checkpoint update count */
172 __u32 cp_events_hi; /* 10 high-order of checkpoint update count */
176 __u32 recovery_cp; /* 11 recovery checkpoint sector count */
178 __u64 reshape_position; /* 12,13 next address in array-space for reshape */
179 __u32 new_level; /* 14 new level we are reshaping to */
180 __u32 delta_disks; /* 15 change in number of raid_disks */
181 __u32 new_layout; /* 16 new layout */
182 __u32 new_chunk; /* 17 new chunk size (bytes) */
183 __u32 gstate_sreserved[MD_SB_GENERIC_STATE_WORDS - 18];
188 __u32 layout; /* 0 the array's physical layout */
189 __u32 chunk_size; /* 1 chunk size in bytes */
190 __u32 root_pv; /* 2 LV root PV */
191 __u32 root_block; /* 3 LV root block */
192 __u32 pstate_reserved[MD_SB_PERSONALITY_WORDS - 4];
197 mdp_disk_t disks[MD_SB_DISKS];
202 __u32 reserved[MD_SB_RESERVED_WORDS];
207 mdp_disk_t this_disk;