Changeset da80de9 in mainline for uspace/srv/bd/hr/util.c
- Timestamp:
- 2025-06-07T11:52:34Z (7 weeks ago)
- Children:
- d482b05
- Parents:
- 49da044
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/util.c
r49da044 rda80de9 98 98 vol->hr_ops.create = hr_raid0_create; 99 99 vol->hr_ops.init = hr_raid0_init; 100 vol->hr_ops.state_event = hr_raid0_state_event; 100 vol->hr_ops.vol_state_eval = hr_raid0_vol_state_eval; 101 vol->hr_ops.ext_state_cb = hr_raid0_ext_state_cb; 101 102 break; 102 103 case HR_LVL_1: 103 104 vol->hr_ops.create = hr_raid1_create; 104 105 vol->hr_ops.init = hr_raid1_init; 105 vol->hr_ops.state_event = hr_raid1_state_event; 106 vol->hr_ops.vol_state_eval = hr_raid1_vol_state_eval; 107 vol->hr_ops.ext_state_cb = hr_raid1_ext_state_cb; 106 108 if (meta_flags & HR_METADATA_HOTSPARE_SUPPORT) 107 109 vol->hr_ops.add_hotspare = hr_raid1_add_hotspare; … … 111 113 vol->hr_ops.create = hr_raid5_create; 112 114 vol->hr_ops.init = hr_raid5_init; 113 vol->hr_ops.state_event = hr_raid5_state_event; 115 vol->hr_ops.vol_state_eval = hr_raid5_vol_state_eval; 116 vol->hr_ops.ext_state_cb = hr_raid5_ext_state_cb; 114 117 if (meta_flags & HR_METADATA_HOTSPARE_SUPPORT) 115 118 vol->hr_ops.add_hotspare = hr_raid5_add_hotspare;
Note:
See TracChangeset
for help on using the changeset viewer.