Changeset 5f543e9 in mainline


Ignore:
Timestamp:
2024-11-08T15:12:50Z (6 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
182ffcc
Parents:
52af125
Message:

hr: RAID0: propagate sync

File:
1 edited

Legend:

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

    r52af125 r5f543e9  
    122122        size_t left;
    123123
     124        /* propagate sync */
     125        if (type == HR_BD_SYNC && ba == 0 && cnt == 0) {
     126                hr_sync_all_extents(vol);
     127                rc = hr_raid0_update_vol_status(vol);
     128                return rc;
     129        }
     130
    124131        if (type == HR_BD_READ || type == HR_BD_WRITE)
    125132                if (size < cnt * vol->bsize)
Note: See TracChangeset for help on using the changeset viewer.