Home
last modified time | relevance | path

Searched refs:vdev_ashift (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dvdev.c900 &vd->vdev_ashift); in vdev_alloc()
1331 mvd->vdev_ashift = cvd->vdev_ashift; in vdev_add_parent()
1364 cvd->vdev_ashift = mvd->vdev_ashift; in vdev_remove_parent()
1968 vd->vdev_ashift = MIN( in vdev_ashift_optimize()
1984 vd->vdev_ashift); in vdev_ashift_optimize()
2179 if (vd->vdev_ashift == 0) { in vdev_open()
2192 if (vd->vdev_ashift != 0 && (vd->vdev_ashift < ASHIFT_MIN || in vdev_open()
2193 vd->vdev_ashift > ASHIFT_MAX)) { in vdev_open()
2202 if (vd->vdev_ashift > vd->vdev_top->vdev_ashift && in vdev_open()
3788 vd->vdev_ashift); in vdev_load()
[all …]
H A Dvdev_draid.c583 uint64_t ashift = vd->vdev_ashift; in vdev_draid_asize()
651 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift; in vdev_draid_map_alloc_write()
698 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift; in vdev_draid_map_alloc_scrub()
903 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_draid_logical_to_physical()
961 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_draid_map_alloc_row()
1199 return (vdc->vdc_ndata << vd->vdev_ashift); in vdev_draid_min_alloc()
1500 logical_ashift = MAX(logical_ashift, cvd->vdev_ashift); in vdev_draid_calculate_asize()
1632 uint64_t ashift = vd->vdev_ashift; in vdev_draid_rebuild_asize()
1670 uint64_t sz = vdc->vdc_groupwidth << vd->vdev_ashift; in vdev_draid_metaslab_init()
1755 cvd->vdev_ashift); in vdev_draid_spare_create()
[all …]
H A Dmetaslab.c1028 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_verify()
1065 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_add()
1089 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_remove()
2607 *shift = vdev->vdev_ashift; in metaslab_calculate_range_tree_type()
2687 ms->ms_size, vd->vdev_ashift); in metaslab_init()
3142 uint8_t shift = mg->mg_vd->vdev_ashift; in metaslab_segment_weight()
3580 uint64_t vdev_blocksize = 1ULL << vd->vdev_ashift; in metaslab_should_condense()
4621 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_block_alloc()
5344 VERIFY0(P2PHASE(asize, 1ULL << vd->vdev_ashift)); in metaslab_free_concrete()
5591 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_unalloc_dva()
[all …]
H A Dvdev_raidz.c1530 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_raidz_open()
1566 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_asize()
1625 rc->rc_size + (1 << tvd->vdev_ashift)); in vdev_raidz_io_verify()
1735 raidz_map_t *rm = vdev_raidz_map_alloc(zio, tvd->vdev_ashift, in vdev_raidz_io_start()
1748 vdev_raidz_io_start_write(zio, rr, tvd->vdev_ashift); in vdev_raidz_io_start()
2486 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_need_resilver()
2530 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_raidz_xlate()
H A Dvdev_removal.c2245 vd->vdev_ashift != spa->spa_max_ashift) { in spa_vdev_remove_top_check()
2263 cvd->vdev_ashift != vd->vdev_ashift) { in spa_vdev_remove_top_check()
2266 if (cvd->vdev_ashift != 0 && in spa_vdev_remove_top_check()
2268 ASSERT3U(cvd->vdev_ashift, ==, spa->spa_max_ashift); in spa_vdev_remove_top_check()
H A Dvdev_mirror.c411 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_mirror_open()
942 uint64_t psize = MIN(P2ROUNDUP(max_segment, 1 << vd->vdev_ashift), in vdev_mirror_rebuild_asize()
H A Dzfs_fm.c574 if (vd->vdev_ashift) in zfs_ereport_start()
577 DATA_TYPE_UINT64, vd->vdev_ashift, NULL); in zfs_ereport_start()
1234 report->zcr_sector = 1ULL << vd->vdev_top->vdev_ashift; in zfs_ereport_start_checksum()
H A Dvdev_label.c490 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift); in vdev_config_generate()
498 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift); in vdev_config_generate()
1141 vd->vdev_ashift) == 0); in vdev_label_init()
H A Dvdev_indirect.c954 *logical_ashift = vd->vdev_ashift; in vdev_indirect_open()
H A Dzio.c1453 ASSERT0(P2PHASE(offset, 1ULL << vd->vdev_ashift)); in zio_trim()
1454 ASSERT0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in zio_trim()
3932 align = 1ULL << vd->vdev_top->vdev_ashift; in zio_vdev_io_start()
H A Dspa.c7150 tvd->vdev_ashift != spa->spa_max_ashift) {
7177 if (tvd->vdev_ashift != spa->spa_max_ashift) {
7410 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift)
8174 vml[c]->vdev_top->vdev_ashift);
H A Darc.c8072 size = P2ROUNDUP(size, 1ULL << dev->l2ad_vdev->vdev_ashift); in l2arc_write_size()
9531 MAX(sizeof (*adddev->l2ad_dev_hdr), 1 << vd->vdev_ashift); in l2arc_add_vdev()
H A Ddsl_scan.c5009 &q->q_exts_by_size, 0, vd->vdev_ashift, zfs_scan_max_ext_gap); in scan_io_queue_create()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h222 uint64_t vdev_ashift; /* block alignment shift */ member
482 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \
/freebsd-14.2/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c4885 vd.vdev_ashift = ashift; in dump_label_uberblocks()
5340 vd.vdev_ashift = ashift; in dump_label()
6316 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift)); in zdb_leak_init_vdev_exclude_checkpoint()
6643 inner_offset += 1ULL << vd->vdev_ashift) { in zdb_check_for_obsolete_leaks()
6645 offset + inner_offset, 1ULL << vd->vdev_ashift)) { in zdb_check_for_obsolete_leaks()
6646 obsolete_bytes += 1ULL << vd->vdev_ashift; in zdb_check_for_obsolete_leaks()
7690 current_vd->vdev_ashift)); in verify_checkpoint_vdev_spacemaps()
7856 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift)); in dump_leftover_checkpoint_blocks()
/freebsd-14.2/sys/contrib/openzfs/cmd/
H A Dztest.c3766 else if (ashift > oldvd->vdev_top->vdev_ashift) in ztest_vdev_attach_detach()