Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math.c393 zio_t *bench_zio = NULL; in benchmark_raidz() local
398 bench_zio = kmem_zalloc(sizeof (zio_t), KM_SLEEP); in benchmark_raidz()
399 bench_zio->io_offset = 0; in benchmark_raidz()
400 bench_zio->io_size = BENCH_ZIO_SIZE; /* only data columns */ in benchmark_raidz()
401 bench_zio->io_abd = abd_alloc_linear(BENCH_ZIO_SIZE, B_TRUE); in benchmark_raidz()
402 memset(abd_to_buf(bench_zio->io_abd), 0xAA, BENCH_ZIO_SIZE); in benchmark_raidz()
408 bench_rm = vdev_raidz_map_alloc(bench_zio, SPA_MINBLOCKSHIFT, in benchmark_raidz()
417 bench_rm = vdev_raidz_map_alloc(bench_zio, SPA_MINBLOCKSHIFT, in benchmark_raidz()
426 abd_free(bench_zio->io_abd); in benchmark_raidz()
427 kmem_free(bench_zio, sizeof (zio_t)); in benchmark_raidz()