Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c588 uint64_t ashift = vd->vdev_ashift; in metaslab_group_histogram_verify()
621 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_add()
641 uint64_t ashift = mg->mg_vd->vdev_ashift; in metaslab_group_histogram_remove()
916 VERIFY0(P2PHASE(start, 1ULL << vd->vdev_ashift)); in metaslab_block_alloc()
917 VERIFY0(P2PHASE(size, 1ULL << vd->vdev_ashift)); in metaslab_block_alloc()
1233 ms->ms_size, vd->vdev_ashift, &ms->ms_lock); in metaslab_init()
1654 uint64_t vdev_blocksize = 1 << msp->ms_group->mg_vd->vdev_ashift; in metaslab_should_condense()
1836 msp->ms_start, msp->ms_size, vd->vdev_ashift, in metaslab_sync()
2287 ASSERT(P2PHASE(asize, 1ULL << vd->vdev_ashift) == 0); in metaslab_alloc_dva()
2401 VERIFY0(P2PHASE(offset, 1ULL << vd->vdev_ashift)); in metaslab_free_dva()
[all …]
H A Dvdev.c95 uint64_t asize = P2ROUNDUP(psize, 1ULL << vd->vdev_top->vdev_ashift); in vdev_default_asize()
496 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ASHIFT, &vd->vdev_ashift); in vdev_alloc()
770 mvd->vdev_ashift = cvd->vdev_ashift; in vdev_add_parent()
801 cvd->vdev_ashift = mvd->vdev_ashift; in vdev_remove_parent()
1271 vd->vdev_ashift = MAX(ashift, vd->vdev_ashift); in vdev_open()
1278 if (ashift > vd->vdev_top->vdev_ashift && in vdev_open()
1313 if (vd->vdev_top == vd && vd->vdev_ashift != 0 && in vdev_open()
1315 if (vd->vdev_ashift > spa->spa_max_ashift) in vdev_open()
1316 spa->spa_max_ashift = vd->vdev_ashift; in vdev_open()
1317 if (vd->vdev_ashift < spa->spa_min_ashift) in vdev_open()
[all …]
H A Dvdev_raidz.c1503 *ashift = MAX(*ashift, cvd->vdev_ashift); in vdev_raidz_open()
1622 SPA_OLD_MAXBLOCKSIZE, origoffset, tvd->vdev_ashift, in vdev_raidz_physio()
1676 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_asize()
1725 tvd->vdev_ashift, vd->vdev_children, in vdev_raidz_io_start()
1757 1 << tvd->vdev_ashift, in vdev_raidz_io_start()
H A Dvdev_mirror.c158 *ashift = MAX(*ashift, cvd->vdev_ashift); in vdev_mirror_open()
H A Dzfs_fm.c707 report->zcr_align = 1ULL << vd->vdev_top->vdev_ashift; in zfs_ereport_start_checksum()
H A Dvdev_label.c278 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift); in vdev_config_generate()
H A Dspa.c4552 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift) in spa_vdev_attach()
5019 vml[c]->vdev_top->vdev_ashift) == 0); in spa_vdev_split_mirror()
H A Darc.c6363 buf_compress_minsz = 2 << dev->l2ad_vdev->vdev_ashift; in l2arc_write_buffers()
6970 1 << vd->vdev_ashift); in l2arc_add_vdev()
H A Dzio.c2620 align = 1ULL << vd->vdev_top->vdev_ashift; in zio_vdev_io_start()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h137 uint64_t vdev_ashift; /* block alignment shift */ member
238 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c2106 vd.vdev_ashift = ashift; in dump_label_uberblocks()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c2876 else if (ashift > oldvd->vdev_top->vdev_ashift) in ztest_vdev_attach_detach()