Changeset 1162b6c in mainline


Ignore:
Timestamp:
2025-07-07T00:54:46Z (6 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
15e51b05
Parents:
3b14bda
Message:

hr: raid1.c: split read: abort on 0 good extents

File:
1 edited

Legend:

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

    r3b14bda r1162b6c  
    459459        fibril_rwlock_read_unlock(&vol->states_lock);
    460460
     461        if (good == 0)
     462                return 0;
     463
    461464        size_t cnt_per_ext = (cnt + good - 1) / good;
    462465        if (cnt_per_ext * vol->bsize < HR_RAID1_READ_STRATEGY_SPLIT_THRESHOLD)
Note: See TracChangeset for help on using the changeset viewer.