Changeset d7768d11 in mainline for uspace/srv/bd/hr/var.h
- Timestamp:
- 2024-12-06T19:46:43Z (6 months ago)
- Children:
- 241c3f6
- Parents:
- 586b39d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/var.h
r586b39d rd7768d11 70 70 uint64_t nblocks; 71 71 uint64_t data_blkno; 72 uint 32_t data_offset; /* in blocks */72 uint64_t data_offset; /* in blocks */ 73 73 uint32_t strip_size; 74 74 75 75 uint64_t rebuild_blk; 76 76 77 uint64_t counter; /* metadata syncing */ 78 77 79 service_id_t svc_id; 78 80 hr_vol_status_t status; 79 81 hr_level_t level; 82 /* 83 * SNIA 84 * Common RAID Disk Data Format 85 * Specification 86 * Version 2.0 Revision 19 87 */ 88 #define HR_RLQ_RAID4_0 0x00 /* RAID-4 Non-Rotating Parity 0 */ 89 #define HR_RLQ_RAID4_N 0x01 /* RAID-4 Non-Rotating Parity N */ 90 #define HR_RLQ_RAID5_0R 0x00 /* RAID-5 Rotating Parity 0 with Data Restart */ 91 #define HR_RLQ_RAID5_NR 0x02 /* RAID-5 Rotating Parity N with Data Restart */ 92 #define HR_RLQ_RAID5_NC 0x03 /* RAID-5 Rotating Parity N with Data Continuation */ 93 uint8_t RLQ; /* RAID Level Qualifier */ 80 94 char devname[HR_DEVNAME_LEN]; 81 95 } hr_volume_t;
Note:
See TracChangeset
for help on using the changeset viewer.