Changeset dbd91da in mainline for uspace/lib/device/include/hr.h


Ignore:
Timestamp:
2024-10-05T10:32:59Z (10 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
6b8e89b0
Parents:
34abe6c5
git-author:
Miroslav Cimerman <mc@…> (2024-10-05 10:23:08)
git-committer:
Miroslav Cimerman <mc@…> (2024-10-05 10:32:59)
Message:

hr: remake structures to include extent status

Also rename .devs → .extents in hr_volume_t and when printing status,
display each extent status, and parity disk when array is of type RAID4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/include/hr.h

    r34abe6c5 rdbd91da  
    6464} hr_config_t;
    6565
     66typedef struct hr_extent {
     67        service_id_t svc_id;
     68        int status;
     69} hr_extent_t;
     70
    6671typedef struct hr_vol_info {
    67         service_id_t extents[HR_MAXDEVS];
     72        hr_extent_t extents[HR_MAXDEVS];
    6873        size_t extent_no;
    6974        service_id_t svc_id;
Note: See TracChangeset for help on using the changeset viewer.