Changeset 10291a23 in mainline for uspace/srv/bd/hr/superblock.h


Ignore:
Timestamp:
2025-04-20T14:50:11Z (4 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
f09b75b
Parents:
afec52b4
git-author:
Miroslav Cimerman <mc@…> (2025-04-20 14:48:24)
git-committer:
Miroslav Cimerman <mc@…> (2025-04-20 14:50:11)
Message:

hr: FreeBSD GEOM::MIRROR metadata support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/superblock.h

    rafec52b4 r10291a23  
    4343typedef enum {
    4444        HR_METADATA_NATIVE      = 0,
    45         HR_METADATA_LAST_DUMMY  = 1
     45        HR_METADATA_GEOM_MIRROR = 1,
     46        HR_METADATA_LAST_DUMMY  = 2
    4647} metadata_type_t;
    4748
     
    5253        errno_t          (*init_vol2meta)(const hr_volume_t *, void *);
    5354        errno_t          (*init_meta2vol)(const list_t *, hr_volume_t *);
    54         void             (*encode)(const void *, void *);
    55         void             (*decode)(const void *, void *);
     55        void             (*encode)(void *, void *);
     56        errno_t          (*decode)(const void *, void *);
    5657        errno_t          (*get_block)(service_id_t, void **);
    5758        errno_t          (*write_block)(service_id_t, const void *);
Note: See TracChangeset for help on using the changeset viewer.