Lines Matching defs:mdp_superblock_1

229 struct mdp_superblock_1 {  struct
231 __le32 magic; /* MD_SB_MAGIC: 0xa92b4efc - little endian */
232 __le32 major_version; /* 1 */
233 __le32 feature_map; /* bit 0 set if 'bitmap_offset' is meaningful */
234 __le32 pad0; /* always set to 0 when writing */
236 __u8 set_uuid[16]; /* user-space generated. */
237 char set_name[32]; /* set and interpreted by user-space */
239 __le64 ctime; /* lo 40 bits are seconds, top 24 are microseconds or 0*/
240 __le32 level; /* -4 (multipath), -1 (linear), 0,1,4,5 */
241 __le32 layout; /* only for raid5 and raid10 currently */
242 __le64 size; /* used size of component devices, in 512byte sectors */
244 __le32 chunksize; /* in 512byte sectors */
245 __le32 raid_disks;
246 union {
260 __le32 new_level; /* new level we are reshaping to */
261 __le64 reshape_position; /* next address in array-space for reshape */
262 __le32 delta_disks; /* change in number of raid_disks */
263 __le32 new_layout; /* new layout */
264 __le32 new_chunk; /* new chunk size (512byte sectors) */
265 __le32 new_offset; /* signed number to add to data_offset in new
271 __le64 data_offset; /* sector start of data, often 0 */
272 __le64 data_size; /* sectors in this device that can be used for data */
273 __le64 super_offset; /* sector start of this superblock */
274 union {
278 __le32 dev_number; /* permanent identifier of this device - not role in raid */
279 __le32 cnt_corrected_read; /* number of read errors that were corrected by re-writing */
280 __u8 device_uuid[16]; /* user-space setable, ignored by kernel */
281 __u8 devflags; /* per-device flags. Only two defined...*/
287 __u8 bblog_shift; /* shift from sectors to block size */
288 __le16 bblog_size; /* number of sectors reserved for list */
289 __le32 bblog_offset; /* sector offset from superblock to bblog,
293 __le64 utime; /* 40 bits second, 24 bits microseconds */
294 __le64 events; /* incremented when superblock updated */
295 __le64 resync_offset; /* data before this offset (from data_offset) known to be in sync */
296 __le32 sb_csum; /* checksum up to devs[max_dev] */
297 __le32 max_dev; /* size of devs[] array to consider */
298 __u8 pad3[64-32]; /* set to 0 when writing */
306 __le16 dev_roles[]; /* role in array, or 0xffff for a spare, or 0xfffe for faulty */