Ignore:
Timestamp:
2025-06-28T23:42:54Z (9 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
e5c3580
Parents:
0dbd4a9
Message:

hr: metadata/softraid: invalidate rebuild chunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c

    r0dbd4a9 r9c9955ab  
    190190                iter->fini = false;
    191191
     192                struct sr_meta_chunk *mc =
     193                    (struct sr_meta_chunk *)(main_meta + 1);
     194                mc += index;
     195
    192196                /* for now no ssd_rebuild handling for saved REBUILD */
    193                 if (iter_meta->ssd_ondisk == max_counter_val)
     197                if (iter_meta->ssd_ondisk == max_counter_val &&
     198                    mc->scm_status != BIOC_SDREBUILD)
    194199                        vol->extents[index].state = HR_EXT_ONLINE;
    195200                else
Note: See TracChangeset for help on using the changeset viewer.