Home
last modified time | relevance | path

Searched refs:spa_max_ashift (Results 1 – 6 of 6) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_removal.c1350 ASSERT3U(spa->spa_max_ashift, >=, SPA_MINBLOCKSHIFT); in spa_vdev_copy_impl()
1351 ASSERT3U(spa->spa_max_ashift, ==, spa->spa_min_ashift); in spa_vdev_copy_impl()
1355 1 << spa->spa_max_ashift); in spa_vdev_copy_impl()
1359 ASSERT3U(attempted, >, 1 << spa->spa_max_ashift); in spa_vdev_copy_impl()
1360 *max_alloc = attempted - (1 << spa->spa_max_ashift); in spa_vdev_copy_impl()
1387 return (P2ROUNDUP(zfs_remove_max_segment, 1 << spa->spa_max_ashift)); in spa_remove_max_segment()
2035 if (spa->spa_max_ashift != spa->spa_min_ashift) { in spa_vdev_remove_top_check()
2044 vd->vdev_ashift != spa->spa_max_ashift) { in spa_vdev_remove_top_check()
2068 ASSERT3U(cvd->vdev_ashift, ==, spa->spa_max_ashift); in spa_vdev_remove_top_check()
H A Dspa_misc.c743 spa->spa_max_ashift = 0; in spa_add()
1775 return (MAX(lsize, 1 << spa->spa_max_ashift) * spa_asize_inflation); in spa_get_worst_case_asize()
H A Dvdev.c1327 if (vd->vdev_ashift > spa->spa_max_ashift) in vdev_metaslab_group_create()
1328 spa->spa_max_ashift = vd->vdev_ashift; in vdev_metaslab_group_create()
H A Dspa.c3328 ASSERT3U(spa->spa_max_ashift, <=, SPA_MAXBLOCKSHIFT);
6498 tvd->vdev_ashift != spa->spa_max_ashift) {
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dspa_impl.h244 uint64_t spa_max_ashift; /* of vdevs in normal class */ member
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c1279 ASSERT(ztest_spa->spa_max_ashift != 0); in ztest_random_blocksize()
1289 ztest_random(maxbs - ztest_spa->spa_max_ashift + 1); in ztest_random_blocksize()