Changeset 7b359f5 in mainline for uspace/srv/bd/hr/raid5.c


Ignore:
Timestamp:
2024-11-15T21:45:31Z (6 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
e76e12d8
Parents:
d199a6f
Message:

hr: status/state event function for each RAID

File:
1 edited

Legend:

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

    rd199a6f r7b359f5  
    133133
    134134        return EOK;
     135}
     136
     137void hr_raid5_status_event(hr_volume_t *vol)
     138{
     139        fibril_mutex_lock(&vol->lock);
     140        (void) hr_raid5_update_vol_status(vol);
     141        fibril_mutex_unlock(&vol->lock);
    135142}
    136143
Note: See TracChangeset for help on using the changeset viewer.