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


Ignore:
Timestamp:
2025-06-29T09:20:23Z (9 months 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/raid5.c

    r9c9955ab re5c3580  
    717717        void *buf = NULL, *xorbuf = NULL;
    718718
     719        if (!(vol->meta_ops->get_flags() & HR_METADATA_ALLOW_REBUILD))
     720                return ENOTSUP;
     721
    719722        rc = hr_init_rebuild(vol, &rebuild_idx);
    720723        if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.