HomeSort by relevance Sort by last modified time
    Searched defs:zio (Results 1 - 15 of 15) sorted by null

  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
vdev_disk.c 32 #include <sys/zio.h>
300 zio_t *zio = vdb->vdb_io; local
303 * The rest of the zio stack only deals with EIO, ECKSUM, and ENXIO.
307 zio->io_error = (geterror(bp) != 0 ? EIO : 0);
309 if (zio->io_error == 0 && bp->b_resid != 0)
310 zio->io_error = EIO;
314 zio_interrupt(zio);
318 vdev_disk_ioctl_free(zio_t *zio)
320 kmem_free(zio->io_vsd, sizeof (struct dk_callback));
331 zio_t *zio = zio_arg local
    [all...]
vdev_label.c 143 #include <sys/zio.h>
177 vdev_label_read(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset,
180 ASSERT(spa_config_held(zio->io_spa, SCL_STATE_ALL, RW_WRITER) ==
184 zio_nowait(zio_read_phys(zio, vd,
191 vdev_label_write(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset,
194 ASSERT(spa_config_held(zio->io_spa, SCL_ALL, RW_WRITER) == SCL_ALL ||
195 (spa_config_held(zio->io_spa, SCL_CONFIG | SCL_STATE, RW_READER) ==
197 dsl_pool_sync_context(spa_get_dsl(zio->io_spa))));
200 zio_nowait(zio_write_phys(zio, vd,
402 zio_t *zio; local
564 zio_t *zio; local
916 zio_t *zio; local
1026 zio_t *zio; local
1080 zio_t *zio; local
    [all...]
dsl_pool.c 34 #include <sys/zio.h>
310 zio_t *zio; local
325 zio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED);
334 dsl_dataset_sync(ds, zio, tx);
337 err = zio_wait(zio);
353 zio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED);
357 dsl_dataset_sync(ds, zio, tx);
359 err = zio_wait(zio);
362 * If anything was added to a deadlist during a zio done callback,
395 zio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED)
    [all...]
dmu.c 196 zio_t *zio; local
229 zio = zio_root(dn->dn_objset->os_spa, NULL, NULL, ZIO_FLAG_CANFAIL);
236 zio_nowait(zio);
241 (void) dbuf_read(db, zio, dbuf_flags);
248 err = zio_wait(zio);
872 dmu_sync_ready(zio_t *zio, arc_buf_t *buf, void *varg)
877 blkptr_t *bp = zio->io_bp;
879 if (zio->io_error == 0) {
895 dmu_sync_late_arrival_ready(zio_t *zio)
897 dmu_sync_ready(zio, NULL, zio->io_private)
    [all...]
dmu_tx.c 150 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid)
160 err = dbuf_read(db, zio, DB_RF_CANFAIL | DB_RF_NOPREFETCH);
246 zio_t *zio = zio_root(dn->dn_objset->os_spa, local
253 err = dmu_tx_check_ioerr(zio, dn, 0, start);
262 err = dmu_tx_check_ioerr(zio, dn, 0, end);
271 err = dmu_tx_check_ioerr(zio, dn, 1, i);
277 err = zio_wait(zio);
567 zio_t *zio; local
602 zio = zio_root(tx->tx_pool->dp_spa,
615 err = dmu_tx_check_ioerr(zio, dn, 1, i)
    [all...]
dbuf.c 35 #include <sys/zio.h>
421 dbuf_read_done(zio_t *zio, arc_buf_t *buf, void *vdb)
441 } else if (zio == NULL || zio->io_error == 0) {
456 dbuf_read_impl(dmu_buf_impl_t *db, zio_t *zio, uint32_t *flags)
516 /* ZIO_FLAG_CANFAIL callers have to check the parent zio's error */
523 (void) arc_read(zio, dn->dn_objset->os_spa, db->db_blkptr, pbuf,
532 dbuf_read(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags)
535 int havepzio = (zio != NULL);
563 if (zio == NULL)
1986 zio_t *zio; local
2343 zio_t *zio; local
    [all...]
dmu_objset.c 901 dmu_objset_write_ready(zio_t *zio, arc_buf_t *abuf, void *arg)
903 blkptr_t *bp = zio->io_bp;
924 dmu_objset_write_done(zio_t *zio, arc_buf_t *abuf, void *arg)
926 blkptr_t *bp = zio->io_bp;
927 blkptr_t *bp_orig = &zio->io_bp_orig;
930 if (zio->io_flags & ZIO_FLAG_IO_REWRITE) {
948 zio_t *zio; local
979 zio = arc_write(pio, os->os_spa, tx->tx_txg,
987 os->os_meta_dnode->dn_zio = zio;
994 os->os_userused_dnode->dn_zio = zio;
    [all...]
zil.c 673 zio_t *zio; local
686 zio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL);
691 zio_flush(zio, vd);
699 (void) zio_wait(zio);
708 zil_lwb_write_done(zio_t *zio)
710 lwb_t *lwb = zio->io_private;
714 ASSERT(BP_GET_COMPRESS(zio->io_bp) == ZIO_COMPRESS_OFF);
715 ASSERT(BP_GET_CHECKSUM(zio->io_bp) == ZIO_CHECKSUM_ZILOG);
716 ASSERT(BP_GET_TYPE(zio->io_bp) == DMU_OT_INTENT_LOG);
717 ASSERT(BP_GET_LEVEL(zio->io_bp) == 0)
    [all...]
ddt.c 30 #include <sys/zio.h>
453 zio_t *zio = dde->dde_lead_zio[p]; local
455 if (zio != NULL)
456 refcnt += zio->io_parent_count; /* pending refs */
823 ddt_repair_entry_done(zio_t *zio)
825 ddt_entry_t *rdde = zio->io_private;
837 zio_t *zio; local
840 zio = zio_null(rio, rio->io_spa, NULL,
849 zio_nowait(zio_rewrite(zio, zio->io_spa, 0, &blk
    [all...]
zio.c 83 * An allocating zio is one that either currently has the DVA allocate
86 #define IO_IS_ALLOCATING(zio) ((zio)->io_orig_pipeline & ZIO_STAGE_DVA_ALLOCATE)
248 zio_push_transform(zio_t *zio, void *data, uint64_t size, uint64_t bufsize,
253 zt->zt_orig_data = zio->io_data;
254 zt->zt_orig_size = zio->io_size;
258 zt->zt_next = zio->io_transform_stack;
259 zio->io_transform_stack = zt;
261 zio->io_data = data;
262 zio->io_size = size
475 zio_t *zio; local
563 zio_t *zio; local
583 zio_t *zio; local
600 zio_t *zio; local
629 zio_t *zio; local
660 zio_t *zio; local
677 zio_t *zio; local
706 zio_t *zio; local
731 zio_t *zio; local
752 zio_t *zio; local
789 zio_t *zio; local
829 zio_t *zio; local
1386 zio_t *zio; local
1533 zio_t *zio; local
1636 zio_t *zio; local
    [all...]
spa.c 36 #include <sys/zio.h>
1175 spa_claim_notify(zio_t *zio)
1177 spa_t *spa = zio->io_spa;
1179 if (zio->io_error)
1183 if (spa->spa_claim_max_txg < zio->io_bp->blk_birth)
1184 spa->spa_claim_max_txg = zio->io_bp->blk_birth;
1194 spa_load_verify_done(zio_t *zio)
1196 blkptr_t *bp = zio->io_bp;
1197 spa_load_error_t *sle = zio->io_private;
1199 int error = zio->io_error
4378 zio_t *zio = arg; local
4720 zio_t *zio = zio_root(spa, NULL, NULL, 0); local
    [all...]
arc.c 121 #include <sys/zio.h>
636 static void l2arc_read_done(zio_t *zio);
3223 zio_t *zio; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/
zio.h 41 #define ZBT_MAGIC 0x210da7ab10c7a11ULL /* zio data bloc tail */
189 #define ZIO_DDT_CHILD_FLAGS(zio) \
190 (((zio)->io_flags & ZIO_FLAG_DDT_INHERIT) | \
193 #define ZIO_GANG_CHILD_FLAGS(zio) \
194 (((zio)->io_flags & ZIO_FLAG_GANG_INHERIT) | \
197 #define ZIO_VDEV_CHILD_FLAGS(zio) \
198 (((zio)->io_flags & ZIO_FLAG_VDEV_INHERIT) | \
222 typedef void zio_done_func_t(zio_t *zio);
301 typedef void zio_vsd_cksum_report_f(zio_t *zio, zio_cksum_report_t *zcr,
316 typedef zio_t *zio_gang_issue_func_t(zio_t *zio, blkptr_t *bp
348 struct zio { struct
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/zfs/
zfs.c 1537 const zio_t *zio = data; local
1599 zio_t zio; local
1625 zio_t zio; local
1846 zio_t zio; local
1867 zio_t zio; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/zdb/
zdb.c 2466 zio_t *zio; local
    [all...]

Completed in 4079 milliseconds