Changeset edc89bd8 in mainline for uspace/srv/bd/hr/util.h


Ignore:
Timestamp:
2025-01-12T21:53:55Z (5 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
e2b417f
Parents:
36661772
git-author:
Miroslav Cimerman <mc@…> (2025-01-12 17:19:43)
git-committer:
Miroslav Cimerman <mc@…> (2025-01-12 21:53:55)
Message:

hr: util: add hr_update_{ext,hotspare}_svc_id()

Provides easy way to assert write-ownership of needed
locks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/util.h

    r36661772 redc89bd8  
    6060extern void hr_update_hotspare_status(hr_volume_t *, size_t, hr_ext_status_t);
    6161extern void hr_update_vol_status(hr_volume_t *, hr_vol_status_t);
     62extern void hr_update_ext_svc_id(hr_volume_t *, size_t, service_id_t);
     63extern void hr_update_hotspare_svc_id(hr_volume_t *, size_t, service_id_t);
    6264extern void hr_sync_all_extents(hr_volume_t *);
    6365extern size_t hr_count_extents(hr_volume_t *, hr_ext_status_t);
Note: See TracChangeset for help on using the changeset viewer.