Changeset 2de7c1f in mainline
- Timestamp:
- 2025-06-27T22:27:26Z (3 weeks ago)
- Children:
- f93b8869
- Parents:
- aa9bad8
- Location:
- uspace/srv/bd/hr/metadata/foreign
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/metadata/foreign/geom/hr_g_mirror.c
raa9bad8 r2de7c1f 65 65 static errno_t meta_gmirror_init_vol2meta(hr_volume_t *); 66 66 static errno_t meta_gmirror_init_meta2vol(const list_t *, hr_volume_t *); 67 static errno_t meta_gmirror_erase_block(service_id_t); 67 68 static bool meta_gmirror_compare_uuids(const void *, const void *); 68 69 static void meta_gmirror_inc_counter(hr_volume_t *); … … 81 82 .init_vol2meta = meta_gmirror_init_vol2meta, 82 83 .init_meta2vol = meta_gmirror_init_meta2vol, 84 .erase_block = meta_gmirror_erase_block, 83 85 .compare_uuids = meta_gmirror_compare_uuids, 84 86 .inc_counter = meta_gmirror_inc_counter, … … 203 205 } 204 206 207 static errno_t meta_gmirror_erase_block(service_id_t dev) 208 { 209 HR_DEBUG("%s()", __func__); 210 211 (void)dev; 212 213 return ENOTSUP; 214 } 215 205 216 static bool meta_gmirror_compare_uuids(const void *m1_v, const void *m2_v) 206 217 { -
uspace/srv/bd/hr/metadata/foreign/geom/hr_g_stripe.c
raa9bad8 r2de7c1f 65 65 static errno_t meta_gstripe_init_vol2meta(hr_volume_t *); 66 66 static errno_t meta_gstripe_init_meta2vol(const list_t *, hr_volume_t *); 67 static errno_t meta_gstripe_erase_block(service_id_t); 67 68 static bool meta_gstripe_compare_uuids(const void *, const void *); 68 69 static void meta_gstripe_inc_counter(hr_volume_t *); … … 81 82 .init_vol2meta = meta_gstripe_init_vol2meta, 82 83 .init_meta2vol = meta_gstripe_init_meta2vol, 84 .erase_block = meta_gstripe_erase_block, 83 85 .compare_uuids = meta_gstripe_compare_uuids, 84 86 .inc_counter = meta_gstripe_inc_counter, … … 204 206 } 205 207 208 static errno_t meta_gstripe_erase_block(service_id_t dev) 209 { 210 HR_DEBUG("%s()", __func__); 211 212 (void)dev; 213 214 return ENOTSUP; 215 } 216 206 217 static bool meta_gstripe_compare_uuids(const void *md1_v, const void *md2_v) 207 218 { -
uspace/srv/bd/hr/metadata/foreign/softraid/hr_softraid.c
raa9bad8 r2de7c1f 65 65 static errno_t meta_softraid_init_vol2meta(hr_volume_t *); 66 66 static errno_t meta_softraid_init_meta2vol(const list_t *, hr_volume_t *); 67 static errno_t meta_softraid_erase_block(service_id_t); 67 68 static bool meta_softraid_compare_uuids(const void *, const void *); 68 69 static void meta_softraid_inc_counter(hr_volume_t *); … … 81 82 .init_vol2meta = meta_softraid_init_vol2meta, 82 83 .init_meta2vol = meta_softraid_init_meta2vol, 84 .erase_block = meta_softraid_erase_block, 83 85 .compare_uuids = meta_softraid_compare_uuids, 84 86 .inc_counter = meta_softraid_inc_counter, … … 205 207 error: 206 208 return rc; 209 } 210 211 static errno_t meta_softraid_erase_block(service_id_t dev) 212 { 213 HR_DEBUG("%s()", __func__); 214 215 (void)dev; 216 217 return ENOTSUP; 207 218 } 208 219
Note:
See TracChangeset
for help on using the changeset viewer.