Changeset e5c3580 in mainline for uspace/srv/bd/hr/raid1.c


Ignore:
Timestamp:
2025-06-29T09:20:23Z (4 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
93ea452
Parents:
9c9955ab
Message:

hr: add HR_METADATA_ALLOW_REBUILD flag

For now we want to be conservative with what we
allow foreign metadata volumes to do.

File:
1 edited

Legend:

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

    r9c9955ab re5c3580  
    455455        errno_t rc;
    456456
     457        if (!(vol->meta_ops->get_flags() & HR_METADATA_ALLOW_REBUILD))
     458                return ENOTSUP;
     459
    457460        rc = hr_init_rebuild(vol, &rebuild_idx);
    458461        if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.