Changeset c76bf33 in mainline for uspace/srv/bd/hr/raid1.c
- Timestamp:
- 2025-07-05T23:02:28Z (2 weeks ago)
- Children:
- 3b14bda
- Parents:
- 974f9ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/raid1.c
r974f9ba rc76bf33 305 305 306 306 #ifdef HR_RAID1_READ_STRATEGY_SPLIT 307 307 308 static size_t hr_raid1_count_good_r_extents(hr_volume_t *vol, uint64_t ba, 308 309 size_t cnt, uint64_t rebuild_blk) … … 322 323 return count; 323 324 } 324 #endif 325 326 #endif /* HR_RAID1_READ_STRATEGY_SPLIT */ 325 327 326 328 #ifdef HR_RAID1_READ_STRATEGY_CLOSEST 329 327 330 static size_t get_ext(hr_volume_t *vol, uint64_t ba, size_t cnt, 328 331 uint64_t rebuild_blk) … … 686 689 goto end; 687 690 } 691 atomic_store_explicit(&vol->last_ext_pos_arr[rebuild_idx], 692 ba + cnt - 1, memory_order_relaxed); 688 693 689 694 percent = ((ba + cnt) * 100) / vol->data_blkno;
Note:
See TracChangeset
for help on using the changeset viewer.