Ignore:
Timestamp:
2025-06-23T18:31:18Z (9 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
62a8756
Parents:
e0695ce
Message:

hr: add option to save metadata on single extent

File:
1 edited

Legend:

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

    re0695ce r6a8c1569  
    6464static void meta_softraid_inc_counter(hr_volume_t *);
    6565static errno_t meta_softraid_save(hr_volume_t *, bool);
     66static errno_t meta_softraid_save_ext(hr_volume_t *, size_t, bool);
    6667static const char *meta_softraid_get_devname(const void *);
    6768static hr_level_t meta_softraid_get_level(const void *);
     
    8485        .inc_counter = meta_softraid_inc_counter,
    8586        .save = meta_softraid_save,
     87        .save_ext = meta_softraid_save_ext,
    8688        .get_devname = meta_softraid_get_devname,
    8789        .get_level = meta_softraid_get_level,
     
    437439}
    438440
     441static errno_t meta_softraid_save_ext(hr_volume_t *vol, size_t ext_idx,
     442    bool with_state_callback)
     443{
     444        HR_DEBUG("%s()", __func__);
     445
     446        return ENOTSUP;
     447}
     448
    439449static const char *meta_softraid_get_devname(const void *md_v)
    440450{
Note: See TracChangeset for help on using the changeset viewer.