Changeset 241c3f6 in mainline


Ignore:
Timestamp:
2024-12-06T19:55:45Z (7 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
4066371
Parents:
d7768d11
Message:

hr: move RAID4 to RAID5

Removes whole raid4.c, as RAID4 is implemented
via RLQs in RAID5.

Location:
uspace/srv/bd/hr
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/hr.c

    rd7768d11 r241c3f6  
    201201                break;
    202202        case HR_LVL_4:
    203                 new_volume->hr_ops.create = hr_raid4_create;
    204                 new_volume->hr_ops.init = hr_raid4_init;
    205                 new_volume->hr_ops.status_event = hr_raid4_status_event;
    206                 new_volume->hr_ops.add_hotspare = hr_raid4_add_hotspare;
     203                new_volume->RLQ = HR_RLQ_RAID4_N;
     204                new_volume->hr_ops.create = hr_raid5_create;
     205                new_volume->hr_ops.init = hr_raid5_init;
     206                new_volume->hr_ops.status_event = hr_raid5_status_event;
     207                new_volume->hr_ops.add_hotspare = hr_raid5_add_hotspare;
    207208                break;
    208209        case HR_LVL_5:
  • uspace/srv/bd/hr/meson.build

    rd7768d11 r241c3f6  
    2828
    2929deps = [ 'block', 'device' ]
    30 src = files('hr.c', 'raid0.c', 'raid1.c', 'raid4.c', 'raid5.c', 'superblock.c', 'util.c')
     30src = files('hr.c', 'raid0.c', 'raid1.c', 'raid5.c', 'superblock.c', 'util.c')
Note: See TracChangeset for help on using the changeset viewer.