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

/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dvdev.c316 uint64_t asize = P2ROUNDUP(psize, 1ULL << vd->vdev_top->vdev_ashift);
377 uint64_t min_alloc = 1ULL << vd->vdev_ashift;
906 &vd->vdev_ashift);
1339 mvd->vdev_ashift = cvd->vdev_ashift;
1372 cvd->vdev_ashift = mvd->vdev_ashift;
1486 if (vd->vdev_top == vd && vd->vdev_ashift != 0 &&
1488 if (vd->vdev_ashift > spa->spa_max_ashift)
1489 spa->spa_max_ashift = vd->vdev_ashift;
[all...]
H A Dvdev_draid.c584 uint64_t ashift = vd->vdev_ashift;
652 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift;
699 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift;
789 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift;
856 uint64_t skip_size = 1ULL << zio->io_vd->vdev_top->vdev_ashift;
904 uint64_t ashift = vd->vdev_top->vdev_ashift;
962 uint64_t ashift = vd->vdev_top->vdev_ashift;
1155 return (roundup(start, vdc->vdc_groupwidth << vd->vdev_ashift));
1185 return (vdc->vdc_ndata << vd->vdev_ashift);
1486 logical_ashift = MAX(logical_ashift, cvd->vdev_ashift);
[all...]
H A Dmetaslab.c1026 uint64_t ashift = mg->mg_vd->vdev_ashift;
1063 uint64_t ashift = mg->mg_vd->vdev_ashift;
1087 uint64_t ashift = mg->mg_vd->vdev_ashift;
2640 * the vdev_ms_shift - the vdev_ashift is less than 32, we can store
2647 if (vdev->vdev_ms_shift - vdev->vdev_ashift < 32 &&
2649 *shift = vdev->vdev_ashift;
2729 ms->ms_size, vd->vdev_ashift);
3101 uint8_t shift = msp->ms_group->mg_vd->vdev_ashift;
3184 uint8_t shift = mg->mg_vd->vdev_ashift;
3622 uint64_t vdev_blocksize = 1ULL << vd->vdev_ashift;
[all...]
H A Dvdev_raidz.c2154 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift);
2237 uint64_t ashift = vd->vdev_top->vdev_ashift;
2323 rc->rc_size + (1 << zio->io_vd->vdev_top->vdev_ashift));
2381 uint64_t ashift = vd->vdev_top->vdev_ashift;
2572 tvd->vdev_ashift, vdrz->vd_physical_width,
2578 tvd->vdev_ashift, logical_width, vdrz->vd_nparity);
2928 zio->io_vd->vdev_top->vdev_ashift,
3581 uint64_t ashift = vd->vdev_top->vdev_ashift;
3642 uint64_t ashift = raidvd->vdev_top->vdev_ashift;
3901 int ashift = vd->vdev_top->vdev_ashift;
[all...]
H A Dzfs_fm.c574 if (vd->vdev_ashift)
577 DATA_TYPE_UINT64, vd->vdev_ashift, NULL);
1231 report->zcr_sector = 1ULL << vd->vdev_top->vdev_ashift;
H A Dvdev_mirror.c411 *logical_ashift = MAX(*logical_ashift, cvd->vdev_ashift);
942 uint64_t psize = MIN(P2ROUNDUP(max_segment, 1 << vd->vdev_ashift),
H A Dvdev_removal.c2245 vd->vdev_ashift != spa->spa_max_ashift) {
2263 cvd->vdev_ashift != vd->vdev_ashift) {
2266 if (cvd->vdev_ashift != 0 &&
2268 ASSERT3U(cvd->vdev_ashift, ==, spa->spa_max_ashift);
H A Dvdev_label.c498 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift);
506 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift);
1149 vd->vdev_ashift) == 0);
H A Dvdev_indirect.c954 *logical_ashift = vd->vdev_ashift;
H A Dzio.c1462 ASSERT0(P2PHASE(offset, 1ULL << vd->vdev_ashift));
1463 ASSERT0(P2PHASE(size, 1ULL << vd->vdev_ashift));
3963 align = 1ULL << vd->vdev_top->vdev_ashift;
H A Dspa.c7258 tvd->vdev_ashift != spa->spa_max_ashift) {
7285 if (tvd->vdev_ashift != spa->spa_max_ashift) {
7541 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift)
8374 vml[c]->vdev_top->vdev_ashift);
H A Darc.c8077 size = P2ROUNDUP(size, 1ULL << dev->l2ad_vdev->vdev_ashift);
9533 MAX(sizeof (*adddev->l2ad_dev_hdr), 1 << vd->vdev_ashift);
H A Ddsl_scan.c5004 &q->q_exts_by_size, 0, vd->vdev_ashift, zfs_scan_max_ext_gap);
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h221 uint64_t vdev_ashift; /* block alignment shift */ member in struct:vdev
482 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \
/freebsd-current/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c4780 vd.vdev_ashift = ashift;
5235 vd.vdev_ashift = ashift;
6223 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift));
6550 inner_offset += 1ULL << vd->vdev_ashift) {
6552 offset + inner_offset, 1ULL << vd->vdev_ashift)) {
6553 obsolete_bytes += 1ULL << vd->vdev_ashift;
7598 current_vd->vdev_ashift));
7764 checkpoint_sm_obj, 0, vd->vdev_asize, vd->vdev_ashift));
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dztest.c3873 else if (ashift > oldvd->vdev_top->vdev_ashift)
3972 write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << raidvd->vdev_ashift,

Completed in 301 milliseconds