Searched refs:vdev_ashift (Results 1 – 14 of 14) sorted by relevance
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | vdev.c | 1125 mvd->vdev_ashift = cvd->vdev_ashift; in vdev_add_parent() 1158 cvd->vdev_ashift = mvd->vdev_ashift; in vdev_remove_parent() 1679 vd->vdev_ashift = MAX(vd->vdev_logical_ashift, vd->vdev_ashift); in vdev_open() 1698 if (vd->vdev_ashift > vd->vdev_top->vdev_ashift && in vdev_open() 1744 spa->spa_max_ashift = vd->vdev_ashift; in vdev_open() 1746 spa->spa_min_ashift = vd->vdev_ashift; in vdev_open() 2272 vd->vdev_ashift = MIN( in vdev_ashift_optimize() 2284 vd->vdev_ashift); in vdev_ashift_optimize() 2916 vd->vdev_ashift))) { in vdev_load() 3620 uint64_t shift = vd->vdev_ashift + 47; in vdev_is_spacemap_addressable() [all …]
|
| H A D | metaslab.c | 383 if (vd->vdev_ashift < minashift) in metaslab_class_minblocksize_update() 384 minashift = vd->vdev_ashift; in metaslab_class_minblocksize_update() 916 uint64_t ashift = vd->vdev_ashift; in metaslab_group_histogram_verify() 949 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_add() 969 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_remove() 1573 ms->ms_size, vd->vdev_ashift); in metaslab_init() 1933 uint8_t shift = mg->mg_vd->vdev_ashift; in metaslab_segment_weight() 2280 uint64_t vdev_blocksize = 1 << vd->vdev_ashift; in metaslab_should_condense() 3023 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_block_alloc() 3840 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_unalloc_dva() [all …]
|
| H A D | vdev_raidz.c | 1699 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_raidz_open() 1823 SPA_OLD_MAXBLOCKSIZE, origoffset, B_FALSE, tvd->vdev_ashift, in vdev_raidz_physio() 1879 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_asize() 1926 rc->rc_size + (1 << tvd->vdev_ashift)); in vdev_raidz_io_verify() 1962 tvd->vdev_ashift, vd->vdev_children, in vdev_raidz_io_start() 2014 1 << tvd->vdev_ashift, in vdev_raidz_io_start() 2638 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_need_resilver() 2673 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_raidz_xlate()
|
| H A D | vdev_mirror.c | 318 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift); in vdev_mirror_open()
|
| H A D | trim_map.c | 41 P2ROUNDUP(size, 1ULL << vd->vdev_top->vdev_ashift))
|
| H A D | zfs_fm.c | 707 report->zcr_align = 1ULL << vd->vdev_top->vdev_ashift; in zfs_ereport_start_checksum()
|
| H A D | vdev_removal.c | 1918 if (cvd->vdev_ashift != 0 && !cvd->vdev_islog) in spa_vdev_remove_top_check() 1919 ASSERT3U(cvd->vdev_ashift, ==, spa->spa_max_ashift); in spa_vdev_remove_top_check()
|
| H A D | vdev_label.c | 317 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift); in vdev_config_generate()
|
| H A D | vdev_indirect.c | 916 *logical_ashift = vd->vdev_ashift; in vdev_indirect_open()
|
| H A D | spa.c | 5918 tvd->vdev_ashift != spa->spa_max_ashift) { 6118 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift) 6695 vml[c]->vdev_top->vdev_ashift) == 0);
|
| H A D | zio.c | 3241 align = 1ULL << vd->vdev_top->vdev_ashift; in zio_vdev_io_start()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| H A D | vdev_impl.h | 205 uint64_t vdev_ashift; /* block alignment shift */ member 401 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zdb/ |
| H A D | zdb.c | 2508 vd.vdev_ashift = ashift; in dump_label_uberblocks() 3296 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift)); in zdb_leak_init_vdev_exclude_checkpoint() 3541 inner_offset += 1 << vd->vdev_ashift) { in zdb_check_for_obsolete_leaks() 3543 offset + inner_offset, 1 << vd->vdev_ashift)) { in zdb_check_for_obsolete_leaks() 3544 obsolete_bytes += 1 << vd->vdev_ashift; in zdb_check_for_obsolete_leaks() 4320 current_vd->vdev_ashift)); in verify_checkpoint_vdev_spacemaps() 4484 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift)); in dump_leftover_checkpoint_blocks()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/ |
| H A D | ztest.c | 3100 else if (ashift > oldvd->vdev_top->vdev_ashift) in ztest_vdev_attach_detach()
|