Changeset 5cb1631 in mainline


Ignore:
Timestamp:
2025-04-21T12:50:28Z (4 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
fb06476f
Parents:
b883aa8
Message:

hr: FreeBSD GEOM::STRIPE metadata support

Location:
uspace/srv/bd/hr
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/meson.build

    rb883aa8 r5cb1631  
    3333            'io.c',
    3434            'metadata/foreign/geom/mirror.c',
     35            'metadata/foreign/geom/stripe.c',
    3536            'metadata/native.c',
    3637            'raid0.c',
  • uspace/srv/bd/hr/superblock.c

    rb883aa8 r5cb1631  
    5151
    5252#include "metadata/foreign/geom/g_mirror.h"
     53#include "metadata/foreign/geom/g_stripe.h"
    5354#include "metadata/native.h"
    5455
    5556extern hr_superblock_ops_t metadata_native_ops;
    5657extern hr_superblock_ops_t metadata_gmirror_ops;
     58extern hr_superblock_ops_t metadata_stripe_ops;
    5759
    5860static hr_superblock_ops_t *hr_superblock_ops_all[] = {
    5961        [HR_METADATA_NATIVE] = &metadata_native_ops,
    60         [HR_METADATA_GEOM_MIRROR] = &metadata_gmirror_ops
     62        [HR_METADATA_GEOM_MIRROR] = &metadata_gmirror_ops,
     63        [HR_METADATA_GEOM_STRIPE] = &metadata_stripe_ops
    6164};
    6265
Note: See TracChangeset for help on using the changeset viewer.